Skip to content

Commit 7296a76

Browse files
authored
Update build.sh
1 parent 6843c11 commit 7296a76

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

themes/version1.x/Dracula/build.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ set -e
1414

1515
#### Variables ####
1616
SCRIPT_VERSION="v0.1"
17-
DRACULA="https://raw.githubusercontent.com/Ferks-FK/Pterodactyl-AutoThemes/${SCRIPT_VERSION}/themes/version1.x/Dracula/admin.blade.php"
17+
DRACULA="https://raw.githubusercontent.com/Ferks-FK/Pterodactyl-AutoThemes/${SCRIPT_VERSION}/themes/version1.x/Dracula/admin.css"
1818
SUPPORT_LINK="https://discord.gg/buDBbSGJmQ"
1919

2020

@@ -98,13 +98,13 @@ echo -e "* ${GREEN}Downloading files...${reset}"
9898
print_brake 25
9999
download_files() {
100100
cd /var/www/pterodactyl/resources/scripts
101-
curl -o user.css https://raw.githubusercontent.com/Ferks-FK/Pterodactyl-AutoThemes/main/themes/version1.x/Dracula/user.css
101+
curl -o user.css https://raw.githubusercontent.com/Ferks-FK/Pterodactyl-AutoThemes/${SCRIPT_VERSION}/themes/version1.x/Dracula/user.css
102102
rm -R index.tsx
103-
curl -o index.tsx https://raw.githubusercontent.com/Ferks-FK/Pterodactyl-AutoThemes/main/themes/version1.x/Dracula/index.tsx
103+
curl -o index.tsx https://raw.githubusercontent.com/Ferks-FK/Pterodactyl-AutoThemes/${SCRIPT_VERSION}/themes/version1.x/Dracula/index.tsx
104104
cd
105105
cd /var/www/pterodactyl/resources/views/layouts
106106
rm -R admin.blade.php
107-
curl -o admin.blade.php https://raw.githubusercontent.com/Ferks-FK/Pterodactyl-AutoThemes/main/themes/version1.x/Dracula/admin.blade.php
107+
curl -o admin.blade.php https://raw.githubusercontent.com/Ferks-FK/Pterodactyl-AutoThemes/${SCRIPT_VERSION}/themes/version1.x/Dracula/admin.blade.php
108108
sed -i -e "s@<STYLE-ADMIN>@${DRACULA}@g" /var/www/pterodactyl/resources/views/layouts/admin.blade.php
109109
}
110110

0 commit comments

Comments
 (0)