summaryrefslogtreecommitdiff
path: root/backend/pyinstaller.spec
diff options
context:
space:
mode:
authorK900 <me@0upti.me>2024-06-27 11:46:47 +0300
committerAAGaming <aagaming@riseup.net>2024-06-29 16:53:57 -0400
commit5697d98862efa81a8ad3651e9ef68d754a58ea90 (patch)
treed131979bb50d60dbeecf4699e5c0582d5bca400e /backend/pyinstaller.spec
parent6cd4fb5553e4e0cb89834743286ec91fa8a02731 (diff)
downloaddecky-loader-5697d98862efa81a8ad3651e9ef68d754a58ea90.tar.gz
decky-loader-5697d98862efa81a8ad3651e9ef68d754a58ea90.zip
treewide: fix package structure
The static files need to be inside the module to be installed correctly as part of the module.
Diffstat (limited to 'backend/pyinstaller.spec')
-rw-r--r--backend/pyinstaller.spec4
1 files changed, 2 insertions, 2 deletions
diff --git a/backend/pyinstaller.spec b/backend/pyinstaller.spec
index a9eba6a4..91ff4e5b 100644
--- a/backend/pyinstaller.spec
+++ b/backend/pyinstaller.spec
@@ -6,8 +6,8 @@ from PyInstaller.utils.hooks import copy_metadata
a = Analysis(
['main.py'],
datas=[
- ('locales', 'locales'),
- ('static', 'static'),
+ ('decky_loader/locales', 'decky_loader/locales'),
+ ('decky_loader/static', 'decky_loader/static'),
] + copy_metadata('decky_loader'),
hiddenimports=['logging.handlers', 'sqlite3', 'decky_plugin', 'decky'],
)