mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-10-11 13:22:47 +02:00
#1000 add Sendmayn to menu
This commit is contained in:
@@ -81,6 +81,11 @@ if [ "${runBehindTor}" = "on" ]; then
|
|||||||
OPTIONS+=(FULLY_NODED "Fully Noded (IOS+TOR)")
|
OPTIONS+=(FULLY_NODED "Fully Noded (IOS+TOR)")
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Additinal Options with no TOR
|
||||||
|
if [ "${runBehindTor}" != "on" ]; then
|
||||||
|
OPTIONS+=(SENDMANY_ANDROID "SendMany (Android)")
|
||||||
|
fi
|
||||||
|
|
||||||
CHOICE=$(whiptail --clear --title "Choose Mobile Wallet" --menu "" 13 50 7 "${OPTIONS[@]}" 2>&1 >/dev/tty)
|
CHOICE=$(whiptail --clear --title "Choose Mobile Wallet" --menu "" 13 50 7 "${OPTIONS[@]}" 2>&1 >/dev/tty)
|
||||||
|
|
||||||
/home/admin/config.scripts/blitz.lcd.sh hide
|
/home/admin/config.scripts/blitz.lcd.sh hide
|
||||||
@@ -150,6 +155,20 @@ case $CHOICE in
|
|||||||
/home/admin/config.scripts/bonus.lndconnect.sh zap-android ${connect}
|
/home/admin/config.scripts/bonus.lndconnect.sh zap-android ${connect}
|
||||||
exit 1;
|
exit 1;
|
||||||
;;
|
;;
|
||||||
|
SENDMANY_ANDROID)
|
||||||
|
appstoreLink="https://github.com/fusion44/sendmany/releases"
|
||||||
|
/home/admin/config.scripts/blitz.lcd.sh qr ${appstoreLink}
|
||||||
|
whiptail --title "Install SendMany APK from GithubReleases on your device" \
|
||||||
|
--yes-button "continue" \
|
||||||
|
--no-button "link as QR code" \
|
||||||
|
--yesno "Download & install the SendMany APK from GitHub:\n\n${appstoreLink}\n\nEasiest way to scan QR code on LCD and download/install.\n\nWhen installed and started -> continue." 10 65
|
||||||
|
if [ $? -eq 1 ]; then
|
||||||
|
/home/admin/config.scripts/blitz.lcd.sh qr-console ${appstoreLink}
|
||||||
|
fi
|
||||||
|
/home/admin/config.scripts/blitz.lcd.sh hide
|
||||||
|
/home/admin/config.scripts/bonus.lndconnect.sh sendmany-android ${connect}
|
||||||
|
exit 1;
|
||||||
|
;;
|
||||||
ZEUS_IOS)
|
ZEUS_IOS)
|
||||||
appstoreLink="https://testflight.apple.com/join/gpVFzEHN"
|
appstoreLink="https://testflight.apple.com/join/gpVFzEHN"
|
||||||
/home/admin/config.scripts/blitz.lcd.sh qr ${appstoreLink}
|
/home/admin/config.scripts/blitz.lcd.sh qr ${appstoreLink}
|
||||||
|
@@ -94,8 +94,10 @@ elif [ "${targetWallet}" = "sendmany-android" ]; then
|
|||||||
|
|
||||||
connector="lndconnect"
|
connector="lndconnect"
|
||||||
if [ ${forceTOR} -eq 1 ]; then
|
if [ ${forceTOR} -eq 1 ]; then
|
||||||
port="8080"
|
echo "error='no tor support'"
|
||||||
extraparamter="--nocert"
|
exit 1
|
||||||
|
#port="8080"
|
||||||
|
#extraparamter="--nocert"
|
||||||
fi
|
fi
|
||||||
port="10009"
|
port="10009"
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user