Compare commits

..

10 Commits

Author SHA1 Message Date
SPAWNRYS e87cc4242e Script updated 2024-05-07 07:56:43 +00:00
SPAWNRYS 2a151edde1 Updated readme 2024-05-07 07:54:43 +00:00
SPAWNRYS dc3a4f36a3 updated background 2024-05-07 07:53:26 +00:00
Angelillo15 0b4fb1561d
Merge pull request #6 from Reddishye/stable
Fixed Installer
2024-02-10 22:58:55 +01:00
Hugo Torres 2bf5f0ccb1
Update install.sh
Co-authored-by: Angelillo15 <contact@angelillo15.es>
2024-02-10 22:58:26 +01:00
BuildTools 1b2660b4f0 Fixed InstallTheme 2024-02-10 22:44:02 +01:00
BuildTools 3ec7b4969e Fixed Install 2024-02-10 22:37:50 +01:00
BuildTools b3f97a60d7 Changed Readme 2024-02-10 21:56:30 +01:00
BuildTools d840235a90 Fixed Install Script 2024-02-10 21:56:05 +01:00
Angelillo15 09e6c28609
Merge pull request #3 from Angelillo15/Fix/link fix #2
Update IceMinecraftTheme.css
2023-05-15 20:45:34 +02:00
3 changed files with 17 additions and 9 deletions

View File

@ -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)
``` ```

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://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 || {
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://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 {