mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-31 17:31:36 +00:00
mac build: try to improve .app startup time on MacOS 10.15
Create a pyinstaller "onedir" executable instead of a "onefile" executable.
Note that the name change from "Electrum" to "run_electrum" affects the
name of the internal binary (usually not exposed to users). This is
needed to avoid a collision with the "electrum" folder inside the .app
(just like in the source tree).
based on 03c3eca856
maybe fixes #6225
This commit is contained in:
parent
0b5d9185ff
commit
75cdae0e5b
1 changed files with 5 additions and 3 deletions
|
@ -142,9 +142,8 @@ pyz = PYZ(a.pure, a.zipped_data, cipher=block_cipher)
|
|||
exe = EXE(
|
||||
pyz,
|
||||
a.scripts,
|
||||
a.binaries,
|
||||
a.datas,
|
||||
name=PACKAGE,
|
||||
exclude_binaries=True,
|
||||
name=MAIN_SCRIPT,
|
||||
debug=False,
|
||||
strip=False,
|
||||
upx=True,
|
||||
|
@ -154,6 +153,9 @@ exe = EXE(
|
|||
|
||||
app = BUNDLE(
|
||||
exe,
|
||||
a.binaries,
|
||||
a.zipfiles,
|
||||
a.datas,
|
||||
version = VERSION,
|
||||
name=PACKAGE + '.app',
|
||||
icon=electrum+ICONS_FILE,
|
||||
|
|
Loading…
Add table
Reference in a new issue