mirror of
https://github.com/olivierkes/manuskript.git
synced 2024-05-13 09:22:32 +12:00
Adding a second executable to the pyinstaller target
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
This commit is contained in:
parent
a33249fc9d
commit
de712dd299
|
@ -2,7 +2,6 @@
|
|||
|
||||
block_cipher = None
|
||||
|
||||
|
||||
a = Analysis(['bin/manuskript'],
|
||||
pathex=['.'],
|
||||
binaries=None,
|
||||
|
@ -20,8 +19,10 @@ a = Analysis(['bin/manuskript'],
|
|||
win_no_prefer_redirects=False,
|
||||
win_private_assemblies=False,
|
||||
cipher=block_cipher)
|
||||
|
||||
pyz = PYZ(a.pure, a.zipped_data,
|
||||
cipher=block_cipher)
|
||||
|
||||
exe = EXE(pyz,
|
||||
a.scripts,
|
||||
exclude_binaries=True,
|
||||
|
@ -31,7 +32,19 @@ exe = EXE(pyz,
|
|||
upx=True,
|
||||
console=True,
|
||||
icon=os.path.join(SPECPATH, 'icons/Manuskript/manuskript.ico') )
|
||||
|
||||
wexe = EXE(pyz,
|
||||
a.scripts,
|
||||
exclude_binaries=True,
|
||||
name='manuskriptw',
|
||||
debug=False,
|
||||
strip=False,
|
||||
upx=True,
|
||||
console=False,
|
||||
icon=os.path.join(SPECPATH, 'icons/Manuskript/manuskript.ico') )
|
||||
|
||||
coll = COLLECT(exe,
|
||||
wexe,
|
||||
a.binaries,
|
||||
a.zipfiles,
|
||||
a.datas,
|
||||
|
|
Loading…
Reference in a new issue