From 3bc53078f80816b372c2c5330e8865bc3a0f4dc3 Mon Sep 17 00:00:00 2001 From: shamrockmuffin <70270992+shamrockmuffin@users.noreply.github.com> Date: Sat, 4 Jan 2025 11:47:27 -0600 Subject: [PATCH] Refactor ileapp.spec for improved configuration and clarity - Updated the Analysis configuration to remove hardcoded paths and unnecessary parameters. - Simplified the PYZ and EXE definitions for better readability and maintainability. - Removed unused options and added placeholders for future configurations. --- scripts/pyinstaller/ileapp.spec | 23 ++++------------------- 1 file changed, 4 insertions(+), 19 deletions(-) diff --git a/scripts/pyinstaller/ileapp.spec b/scripts/pyinstaller/ileapp.spec index 26970117..7b922dc9 100755 --- a/scripts/pyinstaller/ileapp.spec +++ b/scripts/pyinstaller/ileapp.spec @@ -1,26 +1,11 @@ # -*- mode: python ; coding: utf-8 -*- -block_cipher = None -a = Analysis(['..\\..\\ileapp.py'], - pathex=['..\\scripts\\artifacts'], +a = Analysis(['ileapp.py'], + pathex=['.\\scripts\\artifacts'], binaries=[], - datas=[('..\\', '.\\scripts')], - hiddenimports=[ - 'astc_decomp_faster', - 'bencoding', - 'blackboxprotobuf', - 'Crypto.Cipher.AES', - 'lib2to3.refactor', - 'liblzfse', - 'mdplist', - 'mmh3', - 'nska_deserialize', - 'pandas', - 'pgpy', - 'pillow_heif', - 'xml.etree.ElementTree', - ], + datas=[('.\\scripts', '.\\scripts')], + hiddenimports=['simplekml'], hookspath=['./'], runtime_hooks=[], excludes=[],