Skip to content

Commit

Permalink
[Fix] ci: Use Unix paths for PyInstaller spec
Browse files Browse the repository at this point in the history
PyInstaller claims that either Windows or Unix paths should work, and
the old method of using Unix paths appeared to successfully generate
working Windows binaries.  I'm not sure why using Windows paths fails,
though.

For now, use Unix paths.  If necessary, "os.path.join(...)" could be
used instead.

Partially reverts b91dfdf

See https://pyinstaller.org/en/stable/spec-files.html
And https://github.com/IldarRyabkov/BubbleTanks2/blob/main/src/setup.spec
  • Loading branch information
digitalf0x committed Nov 14, 2024
1 parent c745b1f commit 540e594
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hapticpancake.spec
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ datas += tmp_ret[0]; binaries += tmp_ret[1]; hiddenimports += tmp_ret[2]


a = Analysis(
['BridgeApp\\main.py'],
['BridgeApp/main.py'],
pathex=[],
binaries=binaries,
datas=datas,
Expand Down Expand Up @@ -41,5 +41,5 @@ exe = EXE(
target_arch=None,
codesign_identity=None,
entitlements_file=None,
icon=['Images\\icon.ico'],
icon=['Images/icon.ico'],
)

0 comments on commit 540e594

Please sign in to comment.