Compare commits
10 Commits
Author | SHA1 | Date | |
---|---|---|---|
e87cc4242e | |||
2a151edde1 | |||
dc3a4f36a3 | |||
|
0b4fb1561d | ||
|
2bf5f0ccb1 | ||
|
1b2660b4f0 | ||
|
3ec7b4969e | ||
|
b3f97a60d7 | ||
|
d840235a90 | ||
|
09e6c28609 |
@ -2,5 +2,5 @@
|
|||||||
|
|
||||||
Install script:
|
Install script:
|
||||||
```sh
|
```sh
|
||||||
bash <(curl https://raw.githubusercontent.com/Angelillo15/IceMinecraftTheme/main/install.sh)
|
bash <(curl https://git.onimai.ru/SPAWNRYS/IceMinecraftTheme/raw/branch/main/install.sh)
|
||||||
```
|
```
|
22
install.sh
22
install.sh
@ -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://github.com/Angelillo15/IceMinecraftTheme.git
|
git clone https://git.onimai.ru/SPAWNRYS/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,18 +26,26 @@ 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 -sL https://deb.nodesource.com/setup_16.x | sudo -E bash -
|
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | 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
|
||||||
cd /var/www/pterodactyl
|
yarn build:production || {
|
||||||
yarn build:production
|
echo "node: --openssl-legacy-provider is not allowed in NODE_OPTIONS"
|
||||||
|
export NODE_OPTIONS=
|
||||||
|
yarn build:production
|
||||||
|
}
|
||||||
sudo php artisan optimize:clear
|
sudo php artisan optimize:clear
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
installThemeQuestion(){
|
installThemeQuestion(){
|
||||||
|
@ -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://angelillo15.es/resources/img/icebg.png");
|
--bacground-url: url("https://git.onimai.ru/SPAWNRYS/my-adobe_and_not-files/raw/branch/master/background_pter.png");
|
||||||
}
|
}
|
||||||
|
|
||||||
html {
|
html {
|
||||||
|
Loading…
Reference in New Issue
Block a user