Move contents-directory specification to spec file

This commit is contained in:
DarkPhoenix
2023-11-29 22:31:09 +06:00
parent 57a23affd0
commit 043f533a10
2 changed files with 3 additions and 2 deletions

View File

@@ -149,7 +149,7 @@ for:
# Build gamedata DB
- cmd: "python db_update.py"
# Build command for PyInstaller
- cmd: "python -m PyInstaller --contents-directory app --clean -y pyfa.spec"
- cmd: "python -m PyInstaller --clean -y pyfa.spec"
# Copy over manifest (See pyfa-org/pyfa#1622)
- ps: xcopy /y dist_assets\win\pyfa.exe.manifest $env:PYFA_DIST_DIR\pyfa\
# InnoScript EXE building. This is in a separate script because I don't feel like copying over the logic to AppVeyor script right now...

View File

@@ -92,7 +92,8 @@ exe = EXE(
upx=upx,
icon= icon,
# version='win-version-info.txt',
console=False
console=False,
contents-directory='app',
)
coll = COLLECT(