diff --git a/install.sh b/install.sh index b505a75..b0bbf9b 100644 --- a/install.sh +++ b/install.sh @@ -17,7 +17,7 @@ installTheme(){ cd /var/www/pterodactyl rm -r IceMinecraftTheme git clone https://github.com/Angelillo15/IceMinecraftTheme.git - cd MinecraftPurpleTheme + cd IceMinecraftTheme rm /var/www/pterodactyl/resources/scripts/IceMinecraftTheme.css rm /var/www/pterodactyl/resources/scripts/index.tsx rm /var/www/pterodactyl/resources/scripts/components/server/console/Console.tsx @@ -89,7 +89,8 @@ echo "" echo "[1] Install theme" echo "[2] Restore backup" echo "[3] Repair panel (use if you have an error in the theme installation)" -echo "[4] Exit" +echo "[4] Update the panel" +echo "[5] Exit" printf "${NO_COLOR}" read -p "Please enter a number: " choice @@ -106,6 +107,10 @@ if [ $choice == "3" ] repair fi if [ $choice == "4" ] + then + repair +fi +if [ $choice == "5" ] then exit -fi \ No newline at end of file +fi diff --git a/repair.sh b/repair.sh index 26b4ed3..86669a5 100644 --- a/repair.sh +++ b/repair.sh @@ -46,7 +46,7 @@ repairPanel(){ } while true; do - read -p "Are you sure that you want to repair the panel [y/N]? " yn + read -p "Are you sure [y/N]? " yn case $yn in [Yy]* ) repairPanel; break;; [Nn]* ) exit;;