Compare commits
10 Commits
Author | SHA1 | Date |
---|---|---|
SPAWNRYS | e87cc4242e | |
SPAWNRYS | 2a151edde1 | |
SPAWNRYS | dc3a4f36a3 | |
Angelillo15 | 0b4fb1561d | |
Hugo Torres | 2bf5f0ccb1 | |
BuildTools | 1b2660b4f0 | |
BuildTools | 3ec7b4969e | |
BuildTools | b3f97a60d7 | |
BuildTools | d840235a90 | |
Angelillo15 | 09e6c28609 |
|
@ -2,5 +2,5 @@
|
|||
|
||||
Install script:
|
||||
```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)
|
||||
```
|
20
install.sh
20
install.sh
|
@ -16,7 +16,7 @@ installTheme(){
|
|||
echo "Installing theme..."
|
||||
cd /var/www/pterodactyl
|
||||
rm -r IceMinecraftTheme
|
||||
git clone https://github.com/Angelillo15/IceMinecraftTheme.git
|
||||
git clone https://git.onimai.ru/SPAWNRYS/IceMinecraftTheme.git
|
||||
cd IceMinecraftTheme
|
||||
rm /var/www/pterodactyl/resources/scripts/IceMinecraftTheme.css
|
||||
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
|
||||
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 install -y nodejs
|
||||
|
||||
npm i -g yarn
|
||||
yarn
|
||||
export NODE_OPTIONS=--openssl-legacy-provider
|
||||
cd /var/www/pterodactyl
|
||||
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
|
||||
|
||||
|
||||
}
|
||||
|
||||
installThemeQuestion(){
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
--main-color: #0D181E;
|
||||
--secundary-color: #132537;
|
||||
--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 {
|
||||
|
|
Loading…
Reference in New Issue