From 5697d98862efa81a8ad3651e9ef68d754a58ea90 Mon Sep 17 00:00:00 2001 From: K900 Date: Thu, 27 Jun 2024 11:46:47 +0300 Subject: treewide: fix package structure The static files need to be inside the module to be installed correctly as part of the module. --- backend/pyinstaller.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'backend/pyinstaller.spec') 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'], ) -- cgit v1.2.3