Skip to content

Commit

Permalink
Move contents-directory specification to spec file
Browse files Browse the repository at this point in the history
  • Loading branch information
DarkFenX committed Nov 29, 2023
1 parent 57a23af commit 043f533
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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...
Expand Down
3 changes: 2 additions & 1 deletion pyfa.spec
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,8 @@ exe = EXE(
upx=upx,
icon= icon,
# version='win-version-info.txt',
console=False
console=False,
contents-directory='app',
)

coll = COLLECT(
Expand Down

0 comments on commit 043f533

Please sign in to comment.