Skip to content

Commit 4b03b9c

Browse files
authored
Update build.sh
1 parent de28f36 commit 4b03b9c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

themes/version1.x/Twilight/build.sh

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

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

1820

@@ -104,6 +106,7 @@ cd
104106
cd /var/www/pterodactyl/resources/views/layouts
105107
rm -R admin.blade.php
106108
curl -o admin.blade.php https://raw.githubusercontent.com/Ferks-FK/Pterodactyl-AutoThemes/main/themes/version1.x/Twilight/admin.blade.php
109+
sed -i -e "s@<STYLE-ADMIN>@${TWILIGHT}@g" /var/www/pterodactyl/resources/views/layouts/admin.blade.php
107110
}
108111

109112
#### Panel Production ####

0 commit comments

Comments
 (0)