更新 simpleupdates/scripts/update_simpleadmin.sh

This commit is contained in:
sky 2024-12-12 23:30:24 +08:00
parent 7e43ac49bd
commit 6530c30468

View File

@ -255,7 +255,7 @@ echo -e "\e[1;31m2) Installing simpleadmin from the $GITTREE branch\e[0m"
install_ttyd() { install_ttyd() {
echo -e "\e[1;34mStarting ttyd installation process...\e[0m" echo -e "\e[1;34mStarting ttyd installation process...\e[0m"
cd $SIMPLE_ADMIN_DIR/console cd $SIMPLE_ADMIN_DIR/console
curl -L -o ttyd https://code.060070.xyz/sky/simple-admin/raw/branch/main/tools/ttyd.armhf && chmod +x ttyd curl -L -o ttyd https://code.060070.xyz/sky/simple-admin/raw/branch/beta-curl/tools/ttyd.armhf && chmod +x ttyd
curl -o ttyd.bash "$GITROOT/simpleadmin/console/ttyd.bash" && chmod +x ttyd.bash curl -o ttyd.bash "$GITROOT/simpleadmin/console/ttyd.bash" && chmod +x ttyd.bash
cd $SIMPLE_ADMIN_DIR/systemd/ cd $SIMPLE_ADMIN_DIR/systemd/
curl -o ttyd.service "$GITROOT/simpleadmin/systemd/ttyd.service" curl -o ttyd.service "$GITROOT/simpleadmin/systemd/ttyd.service"