mirror of
https://github.com/leminlimez/Nugget.git
synced 2025-04-08 04:23:05 +08:00
all of nugget's features
This commit is contained in:
12
compile.py
12
compile.py
@@ -6,10 +6,18 @@ args = [
|
||||
'main_app.py',
|
||||
# '--hidden-import=ipsw_parser',
|
||||
'--hidden-import=zeroconf',
|
||||
'--hidden-import=pyimg4',
|
||||
'--hidden-import=zeroconf._utils.ipaddress',
|
||||
'--hidden-import=zeroconf._handlers.answers',
|
||||
'--add-data=files/:./files',
|
||||
'--copy-metadata=pyimg4',
|
||||
'--onedir',
|
||||
'--name=CODENAME Nugget',
|
||||
'--name=Nugget',
|
||||
'--icon=nugget.ico'
|
||||
]
|
||||
|
||||
PyInstaller.__main__.run(args)
|
||||
if platform == "darwin":
|
||||
# add --windowed arg for macOS
|
||||
args.append('--windowed')
|
||||
|
||||
PyInstaller.__main__.run(args)
|
||||
|
||||
Reference in New Issue
Block a user