Browse Source

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
bip39-recovery
SomberNight 5 years ago
parent
commit
75cdae0e5b
No known key found for this signature in database GPG Key ID: B33B5F232C6271E9
  1. 8
      contrib/osx/osx.spec

8
contrib/osx/osx.spec

@ -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…
Cancel
Save