mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-09-01 09:45:18 +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(
|
exe = EXE(
|
||||||
pyz,
|
pyz,
|
||||||
a.scripts,
|
a.scripts,
|
||||||
a.binaries,
|
exclude_binaries=True,
|
||||||
a.datas,
|
name=MAIN_SCRIPT,
|
||||||
name=PACKAGE,
|
|
||||||
debug=False,
|
debug=False,
|
||||||
strip=False,
|
strip=False,
|
||||||
upx=True,
|
upx=True,
|
||||||
|
@ -154,6 +153,9 @@ exe = EXE(
|
||||||
|
|
||||||
app = BUNDLE(
|
app = BUNDLE(
|
||||||
exe,
|
exe,
|
||||||
|
a.binaries,
|
||||||
|
a.zipfiles,
|
||||||
|
a.datas,
|
||||||
version = VERSION,
|
version = VERSION,
|
||||||
name=PACKAGE + '.app',
|
name=PACKAGE + '.app',
|
||||||
icon=electrum+ICONS_FILE,
|
icon=electrum+ICONS_FILE,
|
||||||
|
|
Loading…
Add table
Reference in a new issue