diff --git a/home.admin/97addMobileWallet.sh b/home.admin/97addMobileWallet.sh index 84005e7..d2c2c8f 100755 --- a/home.admin/97addMobileWallet.sh +++ b/home.admin/97addMobileWallet.sh @@ -54,55 +54,52 @@ CHOICE=$(whiptail --clear --title "Choose Mobile Wallet" --menu "" 15 50 6 "${OP clear case $CHOICE in - CLOSE) - exit 1; - ;; + CLOSE) + exit 1; + ;; SHANGO_IOS) - echo "https://testflight.apple.com/join/WwCjFnS8" > qr.txt - ./XXdisplayLCD.sh /home/admin/assets/install_shango.jpg + echo "https://testflight.apple.com/join/WwCjFnS8" > qr.txt + ./XXdisplayLCD.sh /home/admin/assets/install_shango.jpg - whiptail --title "Install Testflight and Shango on your iOS device" \ - --yes-button "show link as QR" \ - --no-button "continue" \ - --yesno "At the moment this app is in public beta testing:\n\nhttps://testflight.apple.com/join/WwCjFnS8" 20 60 - - if [ $? -eq 0 ]; then - /home/admin/XXdisplayQR.sh - fi - - shred qr.txt - rm -f qr.txt - /home/admin/XXdisplayQRlcd_hide.sh - - ./97addMobileWalletShango.sh - exit 1; - ;; + whiptail --title "Install Testflight and Shango on your iOS device" \ + --yes-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\n\nJoin testing and follow all instructions." 10 60 + + if [ $? -eq 1 ]; then + /home/admin/XXdisplayQR.sh + fi + shred qr.txt + rm -f qr.txt + /home/admin/XXdisplayQRlcd_hide.sh + + ./97addMobileWalletShango.sh + exit 1; + ;; SHANGO_ANDROID) - #echo "https://play.google.com/apps/testing/com.shango" > qr.txt - echo "market://details?id=com.shango" > qr.txt - ./XXdisplayQRlcd.sh - whiptail --title "Install Shango on your Android Phone" \ - --yes-button "show link as QR" \ - --no-button "continue" \ - --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 - /home/admin/XXdisplayQR.sh - fi - - shred qr.txt - rm -f qr.txt - /home/admin/XXdisplayQRlcd_hide.sh - - ./97addMobileWalletShango.sh - exit 1; - ;; - ZAP) - ./97addMobileWalletZap.sh - exit 1; - ;; - ZEUS) - ./97addMobileWalletZeus.sh - exit 1; - ;; + echo "market://details?id=com.shango" > qr.txt + ./XXdisplayQRlcd.sh + whiptail --title "Install Shango on your Android Phone" \ + --yes-button "continue" \ + --no-button "link as QR code" \ + --yesno "At the moment this app is in public beta testing:\n\nhttps://play.google.com/apps/testing/com.shango" 10 60 + + if [ $? -eq 1 ]; then + /home/admin/XXdisplayQR.sh + fi + shred qr.txt + rm -f qr.txt + /home/admin/XXdisplayQRlcd_hide.sh + + ./97addMobileWalletShango.sh + exit 1; + ;; + ZAP) + ./97addMobileWalletZap.sh + exit 1; + ;; + ZEUS) + ./97addMobileWalletZeus.sh + exit 1; + ;; esac