Update Spec File
This commit is contained in:
parent
06dbbce2be
commit
91c7fdaf2d
|
@ -1,9 +1,9 @@
|
||||||
# -*- mode: python -*-
|
# -*- mode: python -*-
|
||||||
|
from PyInstaller.compat import is_win
|
||||||
block_cipher = None
|
block_cipher = None
|
||||||
|
|
||||||
|
# Todo: the runtime hooks should only be installed on windows
|
||||||
a = Analysis(['..\\EntranceRandomizer.py'],
|
a = Analysis(['../EntranceRandomizer.py'],
|
||||||
pathex=['bundle'],
|
pathex=['bundle'],
|
||||||
binaries=[],
|
binaries=[],
|
||||||
datas=[('../data/', 'data/'), ('../README.html', '.'), ('../LICENSE.txt', '.')],
|
datas=[('../data/', 'data/'), ('../README.html', '.'), ('../LICENSE.txt', '.')],
|
||||||
|
@ -16,6 +16,7 @@ a = Analysis(['..\\EntranceRandomizer.py'],
|
||||||
cipher=block_cipher)
|
cipher=block_cipher)
|
||||||
pyz = PYZ(a.pure, a.zipped_data,
|
pyz = PYZ(a.pure, a.zipped_data,
|
||||||
cipher=block_cipher)
|
cipher=block_cipher)
|
||||||
|
|
||||||
exe = EXE(pyz,
|
exe = EXE(pyz,
|
||||||
a.scripts,
|
a.scripts,
|
||||||
exclude_binaries=True,
|
exclude_binaries=True,
|
||||||
|
@ -23,7 +24,7 @@ exe = EXE(pyz,
|
||||||
debug=False,
|
debug=False,
|
||||||
strip=False,
|
strip=False,
|
||||||
upx=False,
|
upx=False,
|
||||||
console=True )
|
console=is_win )
|
||||||
coll = COLLECT(exe,
|
coll = COLLECT(exe,
|
||||||
a.binaries,
|
a.binaries,
|
||||||
a.zipfiles,
|
a.zipfiles,
|
||||||
|
@ -31,3 +32,7 @@ coll = COLLECT(exe,
|
||||||
strip=False,
|
strip=False,
|
||||||
upx=False,
|
upx=False,
|
||||||
name='EntranceRandomizer')
|
name='EntranceRandomizer')
|
||||||
|
app = BUNDLE(coll,
|
||||||
|
name ='EntranceRandomizer.app',
|
||||||
|
icon = None,
|
||||||
|
bundle_identifier = None)
|
||||||
|
|
Loading…
Reference in New Issue