electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit 75cdae0e5b0d29ff8459fc2a90020d263390fbff
parent 0b5d9185ff43873b0db88b7d596983919db0e666
Author: SomberNight <somber.night@protonmail.com>
Date:   Tue, 23 Jun 2020 16:07:07 +0200

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 https://github.com/Electron-Cash/Electron-Cash/commit/03c3eca856c7b766acbe61caf508c1edf6f976e9

maybe fixes #6225

Diffstat:
Mcontrib/osx/osx.spec | 8+++++---
1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/contrib/osx/osx.spec b/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,