Compare commits

..

No commits in common. "main" and "Fix/link" have entirely different histories.

3 changed files with 9 additions and 17 deletions

View File

@ -2,5 +2,5 @@
Install script: Install script:
```sh ```sh
bash <(curl https://git.onimai.ru/SPAWNRYS/IceMinecraftTheme/raw/branch/main/install.sh) bash <(curl https://raw.githubusercontent.com/Angelillo15/IceMinecraftTheme/main/install.sh)
``` ```

View File

@ -16,7 +16,7 @@ installTheme(){
echo "Installing theme..." echo "Installing theme..."
cd /var/www/pterodactyl cd /var/www/pterodactyl
rm -r IceMinecraftTheme rm -r IceMinecraftTheme
git clone https://git.onimai.ru/SPAWNRYS/IceMinecraftTheme.git git clone https://github.com/Angelillo15/IceMinecraftTheme.git
cd IceMinecraftTheme cd IceMinecraftTheme
rm /var/www/pterodactyl/resources/scripts/IceMinecraftTheme.css rm /var/www/pterodactyl/resources/scripts/IceMinecraftTheme.css
rm /var/www/pterodactyl/resources/scripts/index.tsx rm /var/www/pterodactyl/resources/scripts/index.tsx
@ -26,26 +26,18 @@ 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 | sudo -E bash - curl -sL https://deb.nodesource.com/setup_16.x | sudo -E bash -
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion"
nvm install node || {
echo "nvm command not found, trying to source nvm script directly..."
. ~/.nvm/nvm.sh
nvm install node
}
apt update apt update
apt install -y nodejs
npm i -g yarn npm i -g yarn
yarn yarn
export NODE_OPTIONS=--openssl-legacy-provider export NODE_OPTIONS=--openssl-legacy-provider
yarn build:production || { cd /var/www/pterodactyl
echo "node: --openssl-legacy-provider is not allowed in NODE_OPTIONS"
export NODE_OPTIONS=
yarn build:production yarn build:production
}
sudo php artisan optimize:clear sudo php artisan optimize:clear
} }
installThemeQuestion(){ installThemeQuestion(){

View File

@ -2,7 +2,7 @@
--main-color: #0D181E; --main-color: #0D181E;
--secundary-color: #132537; --secundary-color: #132537;
--tertiary-color: #0a354d; --tertiary-color: #0a354d;
--bacground-url: url("https://git.onimai.ru/SPAWNRYS/my-adobe_and_not-files/raw/branch/master/background_pter.png"); --bacground-url: url("https://angelillo15.es/resources/img/icebg.png");
} }
html { html {