Skip to content

Commit

Permalink
#1000 demand keysedn before install SendMany
Browse files Browse the repository at this point in the history
  • Loading branch information
rootzoll authored and rootzoll committed Apr 5, 2020
1 parent f672244 commit 5c68b44
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions home.admin/97addMobileWallet.sh
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,19 @@ case $CHOICE in
exit 1;
;;
SENDMANY_ANDROID)

# check if keysend is activated first

source <(/home/admin/config.scripts/lnd.keysend.sh status)
if [ "${keysendOn}" == "0" ]; then
whiptail --title " KEYSEND NEEDED " --msgbox "
To use the chat feature of the SendMany app, you need to activate the Keysend feature first.
Please go to MAINMENU > SERVICES and activate KEYSEND first.
" 12 65
exit 1
fi

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" \
Expand Down

0 comments on commit 5c68b44

Please sign in to comment.