File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed
themes/version1.x/Twilight Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change 1414
1515# ### Variables ####
1616SCRIPT_VERSION=" v0.1"
17- TWILIGHT=" https://raw.githubusercontent.com/Ferks-FK/Pterodactyl-AutoThemes/ ${SCRIPT_VERSION} /themes/version1.x /Twilight/admin.css"
17+ TWILIGHT=" https://pterothemes.gq/latest /Twilight/admin.css"
1818SUPPORT_LINK=" https://discord.gg/buDBbSGJmQ"
1919
2020
@@ -98,14 +98,13 @@ echo -e "* ${GREEN}Downloading files...${reset}"
9898print_brake 25
9999download_files () {
100100cd /var/www/pterodactyl/resources/scripts
101- curl -o user.css https://raw.githubusercontent.com/Ferks-FK/Pterodactyl-AutoThemes/main/themes/version1.x/Twilight/user.css
102- curl -o admin.css https://raw.githubusercontent.com/Ferks-FK/Pterodactyl-AutoThemes/main/themes/version1.x/Twilight/admin.css
101+ curl -o user.css https://raw.githubusercontent.com/Ferks-FK/Pterodactyl-AutoThemes/${SCRIPT_VERSION} /themes/version1.x/Twilight/user.css
103102rm -R index.tsx
104- curl -o index.tsx https://raw.githubusercontent.com/Ferks-FK/Pterodactyl-AutoThemes/main /themes/version1.x/Twilight/index.tsx
103+ curl -o index.tsx https://raw.githubusercontent.com/Ferks-FK/Pterodactyl-AutoThemes/${SCRIPT_VERSION} /themes/version1.x/Twilight/index.tsx
105104cd
106105cd /var/www/pterodactyl/resources/views/layouts
107106rm -R admin.blade.php
108- curl -o admin.blade.php https://raw.githubusercontent.com/Ferks-FK/Pterodactyl-AutoThemes/main /themes/version1.x/Twilight/admin.blade.php
107+ curl -o admin.blade.php https://raw.githubusercontent.com/Ferks-FK/Pterodactyl-AutoThemes/${SCRIPT_VERSION} /themes/version1.x/Twilight/admin.blade.php
109108sed -i -e " s@<STYLE-ADMIN>@${TWILIGHT} @g" /var/www/pterodactyl/resources/views/layouts/admin.blade.php
110109}
111110
You can’t perform that action at this time.
0 commit comments