Skip to content

Commit 6843c11

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

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

themes/version1.x/Dracula/build.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ set -e
1313
########################################################
1414

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

1820

@@ -103,7 +105,7 @@ cd
103105
cd /var/www/pterodactyl/resources/views/layouts
104106
rm -R admin.blade.php
105107
curl -o admin.blade.php https://raw.githubusercontent.com/Ferks-FK/Pterodactyl-AutoThemes/main/themes/version1.x/Dracula/admin.blade.php
106-
curl -o admin.css https://raw.githubusercontent.com/Ferks-FK/Pterodactyl-AutoThemes/main/themes/version1.x/Dracula/admin.css
108+
sed -i -e "s@<STYLE-ADMIN>@${DRACULA}@g" /var/www/pterodactyl/resources/views/layouts/admin.blade.php
107109
}
108110

109111
#### Panel Production ####

0 commit comments

Comments
 (0)