android+osx: add lightning uri handlers
This commit is contained in:
@@ -4,4 +4,5 @@
|
|||||||
<category android:name="android.intent.category.DEFAULT" />
|
<category android:name="android.intent.category.DEFAULT" />
|
||||||
<category android:name="android.intent.category.BROWSABLE" />
|
<category android:name="android.intent.category.BROWSABLE" />
|
||||||
<data android:scheme="bitcoin" />
|
<data android:scheme="bitcoin" />
|
||||||
|
<data android:scheme="lightning" />
|
||||||
</intent-filter>
|
</intent-filter>
|
||||||
|
|||||||
@@ -179,7 +179,7 @@ pyinstaller --noconfirm --ascii --clean --name $VERSION contrib/osx/osx.spec ||
|
|||||||
|
|
||||||
info "Adding bitcoin URI types to Info.plist"
|
info "Adding bitcoin URI types to Info.plist"
|
||||||
plutil -insert 'CFBundleURLTypes' \
|
plutil -insert 'CFBundleURLTypes' \
|
||||||
-xml '<array><dict> <key>CFBundleURLName</key> <string>bitcoin</string> <key>CFBundleURLSchemes</key> <array><string>bitcoin</string></array> </dict></array>' \
|
-xml '<array><dict> <key>CFBundleURLName</key> <string>bitcoin</string> <key>CFBundleURLSchemes</key> <array><string>bitcoin</string><string>lightning</string></array> </dict></array>' \
|
||||||
-- dist/$PACKAGE.app/Contents/Info.plist \
|
-- dist/$PACKAGE.app/Contents/Info.plist \
|
||||||
|| fail "Could not add keys to Info.plist. Make sure the program 'plutil' exists and is installed."
|
|| fail "Could not add keys to Info.plist. Make sure the program 'plutil' exists and is installed."
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user