From 3ec7b4969ee3dcadc0f540b63daf2c786d580e65 Mon Sep 17 00:00:00 2001 From: BuildTools Date: Sat, 10 Feb 2024 22:37:50 +0100 Subject: [PATCH] Fixed Install --- README.md | 4 ++-- install.sh | 4 +++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index e8f5d14..a5253ae 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ -# IceMinecraftTheme (Updated Version) +# IceMinecraftTheme Install script: ```sh -bash <(curl https://raw.githubusercontent.com/Reddishye/IceMinecraftTheme/main/install.sh) +bash <(curl https://raw.githubusercontent.com/Angelillo15/IceMinecraftTheme/main/install.sh) ``` \ No newline at end of file diff --git a/install.sh b/install.sh index 334b833..c974e6a 100644 --- a/install.sh +++ b/install.sh @@ -26,11 +26,13 @@ installTheme(){ mv resources/scripts/components/server/console/Console.tsx /var/www/pterodactyl/resources/scripts/components/server/console/Console.tsx cd /var/www/pterodactyl - curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash + curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | sudo -E bash - export NVM_DIR="$([ -z "${XDG_CONFIG_HOME-}" ] && printf %s "${HOME}/.nvm" || printf %s "${XDG_CONFIG_HOME}/nvm")" [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" apt update nmv install node + apt update + apt install -y nodejs npm i -g yarn yarn