Add files via upload

This commit is contained in:
MvsCode
2024-06-18 10:17:00 +08:00
committed by GitHub
parent 70d01413e9
commit cf51379adf

View File

@@ -53,9 +53,22 @@ shell_update() {
fi
# Update the script
echo "Updating the script..."
chmod +x "${str_install_shell}"
"${str_install_shell}" update
echo "Download completed..."
## Ask the user if they want to re-run the new version
read -p "Do you want to re-run the new version of the script? (y/n) " rerun_choice
case "$rerun_choice" in
y|Y)
./install-frps.sh install
exit 0 # Exit the script after re-running
;;
n|N)
echo "Skipping re-run."
;;
*)
echo "Invalid choice. Skipping re-run."
;;
esac
;;
n|N)
echo "Skipping update."