Browse Source

#298 update to lndconnect

dev
rootzoll 6 years ago
parent
commit
7d8140599e
  1. 18
      home.admin/97addMobileWalletZap.sh

18
home.admin/97addMobileWalletZap.sh

@ -25,7 +25,7 @@ if [ ${goInstalled} -eq 0 ];then
goInstalled=$(go version 2>/dev/null | grep -c 'go')
fi
if [ ${goInstalled} -eq 0 ];then
echo "FAIL: Was not able to install GO (needed to run ZapConnect)"
echo "FAIL: Was not able to install GO (needed to run LndConnect)"
exit 1
fi
@ -35,11 +35,11 @@ echo "*** Setup ***"
echo ""
echo "Installing zapconnect. Please wait..."
echo ""
echo "Getting github.com/LN-Zap/zapconnect (please wait) ..."
go get -d github.com/LN-Zap/zapconnect
cd $GOPATH/src/github.com/LN-Zap/zapconnect
echo "Getting github.com/LN-Zap/lndconnect (please wait) ..."
go get -d github.com/LN-Zap/lndconnect
cd $GOPATH/src/github.com/LN-Zap/lndconnect
echo ""
echo "Building github.com/LN-Zap/zapconnect ..."
echo "Building github.com/LN-Zap/lndconnect ..."
make
cd
sleep 3
@ -69,11 +69,11 @@ clear
echo "*** STEP 2 : Click on Scan (make whole QR code fill camera) ***"
if [ ${#dynDomain} -eq 0 ]; then
# If you drop the -i parameter, zapconnect will use the external IP.
zapconnect -i
# If you drop the -i parameter, lndconnect will use the external IP.
zapconnect -j -i
else
# when dynamic domain is set
zapconnect --host=${dynDomain}
zapconnect -j --host=${dynDomain}
fi
echo "(To shrink QR code: OSX->CMD- / LINUX-> CTRL-) Press ENTER when finished."
@ -82,5 +82,5 @@ read key
clear
echo "If its not working - check issues on GitHub:"
echo "https://github.com/LN-Zap/zap-iOS/issues"
echo "https://github.com/LN-Zap/zapconnect/issues"
echo "https://github.com/LN-Zap/lndconnect/issues"
echo ""

Loading…
Cancel
Save