Skip to content

Commit

Permalink
gui spec: generate one-file executable (bug 1844839)
Browse files Browse the repository at this point in the history
  • Loading branch information
zzzeid committed Jul 21, 2023
1 parent 1628e1d commit 7db286e
Showing 1 changed file with 21 additions and 14 deletions.
35 changes: 21 additions & 14 deletions gui/gui.spec
Original file line number Diff line number Diff line change
Expand Up @@ -32,21 +32,28 @@ a = Analysis(['mozregression-gui.py'],
pyz = PYZ(a.pure, a.zipped_data, cipher=block_cipher)

if IS_MAC:
exe = EXE(pyz,
a.scripts,
[],
exclude_binaries=True,
name='mozregression GUI',
debug=False,
bootloader_ignore_signals=False,
strip=False,
upx=False,
target_arch="universal2",
console=False)
exe = EXE(
pyz,
a.scripts,
a.binaries,
a.zipfiles,
a.datas,
[],
name='mozregression GUI',
debug=False,
bootloader_ignore_signals=False,
strip=False,
upx=True,
upx_exclude=[],
runtime_tmpdir=None,
console=False,
disable_windowed_traceback=False,
argv_emulation=False,
target_arch="universal2",
codesign_identity=None,
entitlements_file=None,
)
app = BUNDLE(exe,
a.binaries,
a.zipfiles,
a.datas,
strip=False,
upx=True,
name='mozregression GUI.app',
Expand Down

0 comments on commit 7db286e

Please sign in to comment.