electrum

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

commit 0da1e904fecc983ecb38cf3f43ee5dc2c933c822
parent 6c7bfe613f429c3cbe9b7feb770cadd7d8dd090e
Author: Calin Culianu <calin.culianu@gmail.com>
Date:   Tue,  4 Sep 2018 23:38:38 +0300

macOS: Add missing URI handler(#4557)

Backport from Electron Cash -- fix missing bitcoin: URI types form macOS Info.plist
Diffstat:
Mcontrib/build-osx/make_osx | 6++++++
1 file changed, 6 insertions(+), 0 deletions(-)

diff --git a/contrib/build-osx/make_osx b/contrib/build-osx/make_osx @@ -90,5 +90,11 @@ done info "Building binary" pyinstaller --noconfirm --ascii --clean --name $VERSION contrib/build-osx/osx.spec || fail "Could not build binary" +info "Adding bitcoin URI types to Info.plist" +plutil -insert 'CFBundleURLTypes' \ + -xml '<array><dict> <key>CFBundleURLName</key> <string>bitcoin</string> <key>CFBundleURLSchemes</key> <array><string>bitcoin</string></array> </dict></array>' \ + -- dist/$PACKAGE.app/Contents/Info.plist \ + || fail "Could not add keys to Info.plist. Make sure the program 'plutil' exists and is installed." + info "Creating .DMG" hdiutil create -fs HFS+ -volname $PACKAGE -srcfolder dist/$PACKAGE.app dist/electrum-$VERSION.dmg || fail "Could not create .DMG"