mirror of
https://gitlab.com/RemixDev/deemix-gui-pyweb.git
synced 2024-12-28 02:16:16 +00:00
Added division between macOS and windows builds
This commit is contained in:
parent
6017c9e96f
commit
f6647ef183
|
@ -20,30 +20,42 @@ a = Analysis(['deemix_gui.py'],
|
|||
noarchive=False)
|
||||
pyz = PYZ(a.pure, a.zipped_data,
|
||||
cipher=block_cipher)
|
||||
exe = EXE(pyz,
|
||||
a.scripts,
|
||||
a.binaries,
|
||||
a.zipfiles,
|
||||
a.datas,
|
||||
[],
|
||||
name='deemix_gui',
|
||||
debug=False,
|
||||
bootloader_ignore_signals=False,
|
||||
strip=False,
|
||||
upx=True,
|
||||
upx_exclude=[],
|
||||
runtime_tmpdir=None,
|
||||
console=False,
|
||||
icon=f"icon.{'icns' if sys.platform.startswith('darwin') else 'ico'}" )
|
||||
app = BUNDLE(exe,
|
||||
name='deemix_gui.app',
|
||||
icon="icon.icns",
|
||||
bundle_identifier=None)
|
||||
coll = COLLECT(exe,
|
||||
a.binaries,
|
||||
a.zipfiles,
|
||||
a.datas,
|
||||
strip=False,
|
||||
upx=True,
|
||||
upx_exclude=[],
|
||||
name='deemix_gui')
|
||||
if sys.platform.startswith('darwin'):
|
||||
exe = EXE(pyz,
|
||||
a.scripts,
|
||||
a.binaries,
|
||||
a.zipfiles,
|
||||
a.datas,
|
||||
[],
|
||||
name='deemix_gui',
|
||||
debug=False,
|
||||
bootloader_ignore_signals=False,
|
||||
strip=False,
|
||||
upx=True,
|
||||
upx_exclude=[],
|
||||
runtime_tmpdir=None,
|
||||
console=True,
|
||||
icon=f"icon.icns")
|
||||
app = BUNDLE(exe,
|
||||
name='deemix_gui.app',
|
||||
icon="icon.icns",
|
||||
bundle_identifier=None)
|
||||
else:
|
||||
exe = EXE(pyz,
|
||||
a.scripts,
|
||||
[],
|
||||
name='deemix_gui',
|
||||
debug=False,
|
||||
bootloader_ignore_signals=False,
|
||||
strip=False,
|
||||
upx=True,
|
||||
console=True,
|
||||
icon=f"icon.ico")
|
||||
coll = COLLECT(exe,
|
||||
a.binaries,
|
||||
a.zipfiles,
|
||||
a.datas,
|
||||
strip=False,
|
||||
upx=True,
|
||||
upx_exclude=[],
|
||||
name='deemix_gui')
|
||||
|
|
Loading…
Reference in a new issue