Skip to content

Commit 937d872

Browse files
authored
Update build.sh
1 parent 06a8a1c commit 937d872

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

themes/version1.x/Enola/build.sh

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,7 @@ set -e
1313
########################################################
1414

1515
#### Variables ####
16-
SCRIPT_VERSION="v0.1"
17-
ENOLA="https://raw.githubusercontent.com/Ferks-FK/Pterodactyl-AutoThemes/${SCRIPT_VERSION}/themes/version1.x/Enola/admin.css"
16+
ENOLA="https://pterothemes.gq/latest/Enola/admin.css"
1817
SUPPORT_LINK="https://discord.gg/buDBbSGJmQ"
1918

2019

@@ -98,14 +97,14 @@ echo -e "* ${GREEN}Downloading files...${reset}"
9897
print_brake 25
9998
download_files() {
10099
cd /var/www/pterodactyl/resources/scripts
101-
curl -o user.css https://raw.githubusercontent.com/Ferks-FK/Pterodactyl-AutoThemes/main/themes/version1.x/Enola/user.css
102-
curl -o admin.css https://raw.githubusercontent.com/Ferks-FK/Pterodactyl-AutoThemes/main/themes/version1.x/Enola/admin.css
100+
curl -o user.css https://raw.githubusercontent.com/Ferks-FK/Pterodactyl-AutoThemes/${SCRIPT_VERION}/themes/version1.x/Enola/user.css
101+
curl -o admin.css https://raw.githubusercontent.com/Ferks-FK/Pterodactyl-AutoThemes/${SCRIPT_VERION}/themes/version1.x/Enola/admin.css
103102
rm -R index.tsx
104-
curl -o index.tsx https://raw.githubusercontent.com/Ferks-FK/Pterodactyl-AutoThemes/main/themes/version1.x/Enola/index.tsx
103+
curl -o index.tsx https://raw.githubusercontent.com/Ferks-FK/Pterodactyl-AutoThemes/${SCRIPT_VERION}/themes/version1.x/Enola/index.tsx
105104
cd
106105
cd /var/www/pterodactyl/resources/views/layouts
107106
rm -R admin.blade.php
108-
curl -o admin.blade.php https://raw.githubusercontent.com/Ferks-FK/Pterodactyl-AutoThemes/main/themes/version1.x/Elona/admin.blade.php
107+
curl -o admin.blade.php https://raw.githubusercontent.com/Ferks-FK/Pterodactyl-AutoThemes/${SCRIPT_VERION}/themes/version1.x/Elona/admin.blade.php
109108
sed -i -e "s@<STYLE-ADMIN>@${ENOLA}@g" /var/www/pterodactyl/resources/views/layouts/admin.blade.php
110109
}
111110

0 commit comments

Comments
 (0)