Update install.sh

Added the relay server to the configuration string. It uses the "wanip" or IP/DNS set by the user when running the script.
This commit is contained in:
Raphael
2024-08-02 18:23:59 -04:00
committed by GitHub
parent c00477ee7d
commit 2062b332bb

View File

@@ -273,7 +273,7 @@ rm -rf arm64v8
fi fi
echo "Grabbing installers" echo "Grabbing installers"
string="{\"host\":\"${wanip}\",\"key\":\"${key}\",\"api\":\"https://${wanip}\"}" string="{\"host\":\"${wanip}\",\"relay\":\"${wanip}\",\"key\":\"${key}\",\"api\":\"https://${wanip}\"}"
string64=$(echo -n "$string" | base64 -w 0 | tr -d '=') string64=$(echo -n "$string" | base64 -w 0 | tr -d '=')
string64rev=$(echo -n "$string64" | rev) string64rev=$(echo -n "$string64" | rev)