Fixed Install

This commit is contained in:
BuildTools 2024-02-10 22:37:50 +01:00
parent b3f97a60d7
commit 3ec7b4969e
2 changed files with 5 additions and 3 deletions

View File

@ -1,6 +1,6 @@
# IceMinecraftTheme (Updated Version) # IceMinecraftTheme
Install script: Install script:
```sh ```sh
bash <(curl https://raw.githubusercontent.com/Reddishye/IceMinecraftTheme/main/install.sh) bash <(curl https://raw.githubusercontent.com/Angelillo15/IceMinecraftTheme/main/install.sh)
``` ```

View File

@ -26,11 +26,13 @@ installTheme(){
mv resources/scripts/components/server/console/Console.tsx /var/www/pterodactyl/resources/scripts/components/server/console/Console.tsx mv resources/scripts/components/server/console/Console.tsx /var/www/pterodactyl/resources/scripts/components/server/console/Console.tsx
cd /var/www/pterodactyl 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")" 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" [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
apt update apt update
nmv install node nmv install node
apt update
apt install -y nodejs
npm i -g yarn npm i -g yarn
yarn yarn