mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-10-09 20:32:52 +02:00
stream line wallet select
This commit is contained in:
@@ -54,55 +54,52 @@ CHOICE=$(whiptail --clear --title "Choose Mobile Wallet" --menu "" 15 50 6 "${OP
|
|||||||
|
|
||||||
clear
|
clear
|
||||||
case $CHOICE in
|
case $CHOICE in
|
||||||
CLOSE)
|
CLOSE)
|
||||||
exit 1;
|
exit 1;
|
||||||
;;
|
;;
|
||||||
SHANGO_IOS)
|
SHANGO_IOS)
|
||||||
echo "https://testflight.apple.com/join/WwCjFnS8" > qr.txt
|
echo "https://testflight.apple.com/join/WwCjFnS8" > qr.txt
|
||||||
./XXdisplayLCD.sh /home/admin/assets/install_shango.jpg
|
./XXdisplayLCD.sh /home/admin/assets/install_shango.jpg
|
||||||
|
|
||||||
whiptail --title "Install Testflight and Shango on your iOS device" \
|
whiptail --title "Install Testflight and Shango on your iOS device" \
|
||||||
--yes-button "show link as QR" \
|
--yes-button "continue" \
|
||||||
--no-button "continue" \
|
--no-button "link as QR code" \
|
||||||
--yesno "At the moment this app is in public beta testing:\n\nhttps://testflight.apple.com/join/WwCjFnS8" 20 60
|
--yesno "At the moment this app is in public beta testing:\n\nhttps://testflight.apple.com/join/WwCjFnS8\n\nJoin testing and follow all instructions." 10 60
|
||||||
|
|
||||||
if [ $? -eq 0 ]; then
|
if [ $? -eq 1 ]; then
|
||||||
/home/admin/XXdisplayQR.sh
|
/home/admin/XXdisplayQR.sh
|
||||||
fi
|
fi
|
||||||
|
shred qr.txt
|
||||||
|
rm -f qr.txt
|
||||||
|
/home/admin/XXdisplayQRlcd_hide.sh
|
||||||
|
|
||||||
shred qr.txt
|
./97addMobileWalletShango.sh
|
||||||
rm -f qr.txt
|
exit 1;
|
||||||
/home/admin/XXdisplayQRlcd_hide.sh
|
;;
|
||||||
|
|
||||||
./97addMobileWalletShango.sh
|
|
||||||
exit 1;
|
|
||||||
;;
|
|
||||||
SHANGO_ANDROID)
|
SHANGO_ANDROID)
|
||||||
#echo "https://play.google.com/apps/testing/com.shango" > qr.txt
|
echo "market://details?id=com.shango" > qr.txt
|
||||||
echo "market://details?id=com.shango" > qr.txt
|
./XXdisplayQRlcd.sh
|
||||||
./XXdisplayQRlcd.sh
|
whiptail --title "Install Shango on your Android Phone" \
|
||||||
whiptail --title "Install Shango on your Android Phone" \
|
--yes-button "continue" \
|
||||||
--yes-button "show link as QR" \
|
--no-button "link as QR code" \
|
||||||
--no-button "continue" \
|
--yesno "At the moment this app is in public beta testing:\n\nhttps://play.google.com/apps/testing/com.shango" 10 60
|
||||||
--yesno "At the moment this app is in public beta testing:\n\nhttps://play.google.com/apps/testing/com.shango \n\nDo you want to see a QR code with an Playstore link?" 20 60
|
|
||||||
|
|
||||||
if [ $? -eq 0 ]; then
|
if [ $? -eq 1 ]; then
|
||||||
/home/admin/XXdisplayQR.sh
|
/home/admin/XXdisplayQR.sh
|
||||||
fi
|
fi
|
||||||
|
shred qr.txt
|
||||||
|
rm -f qr.txt
|
||||||
|
/home/admin/XXdisplayQRlcd_hide.sh
|
||||||
|
|
||||||
shred qr.txt
|
./97addMobileWalletShango.sh
|
||||||
rm -f qr.txt
|
exit 1;
|
||||||
/home/admin/XXdisplayQRlcd_hide.sh
|
;;
|
||||||
|
ZAP)
|
||||||
./97addMobileWalletShango.sh
|
./97addMobileWalletZap.sh
|
||||||
exit 1;
|
exit 1;
|
||||||
;;
|
;;
|
||||||
ZAP)
|
ZEUS)
|
||||||
./97addMobileWalletZap.sh
|
./97addMobileWalletZeus.sh
|
||||||
exit 1;
|
exit 1;
|
||||||
;;
|
;;
|
||||||
ZEUS)
|
|
||||||
./97addMobileWalletZeus.sh
|
|
||||||
exit 1;
|
|
||||||
;;
|
|
||||||
esac
|
esac
|
||||||
|
Reference in New Issue
Block a user