Skip to content

Commit

Permalink
Onedir, not onefile
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidStirling committed Jun 4, 2024
1 parent 0bf74fb commit e9be627
Showing 1 changed file with 16 additions and 8 deletions.
24 changes: 16 additions & 8 deletions build_macos.spec
Original file line number Diff line number Diff line change
Expand Up @@ -13,22 +13,20 @@ a = Analysis(
noarchive=False,
optimize=0,
)

pyz = PYZ(a.pure)

exe = EXE(
pyz,
a.scripts,
a.binaries,
a.datas,
[],
name='quantifish',
debug=True,
exclude_binaries=True,
name='QuantiFish',
debug=False,
bootloader_ignore_signals=False,
strip=False,
upx=True,
upx_exclude=[],
runtime_tmpdir=None,
console=True,
console=False,
disable_windowed_traceback=False,
argv_emulation=False,
target_arch=None,
Expand All @@ -37,8 +35,18 @@ exe = EXE(
icon=['resources/QFIcon.icns'],
)

app = BUNDLE(
coll = COLLECT(
exe,
a.binaries,
a.datas,
strip=False,
upx=True,
upx_exclude=[],
name='QuantiFish',
)

app = BUNDLE(
coll,
name='QuantiFish.app',
icon='resources/QFIcon.icns',
info_plist={
Expand Down

0 comments on commit e9be627

Please sign in to comment.