Skip to content

Commit 7434470

Browse files
authored
Update build.sh
1 parent 4e9e2f2 commit 7434470

File tree

1 file changed

+13
-8
lines changed

1 file changed

+13
-8
lines changed

themes/version1.x/Dracula/build.sh

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,9 @@ check_distro() {
7272
#### Install Dependencies ####
7373

7474
dependencies() {
75+
print_brake 20
76+
echo "* ${GREEN}Installing dependencies...${reset}"
77+
print_brake 20
7578
case "$OS" in
7679
debian | ubuntu)
7780
curl -sL https://deb.nodesource.com/setup_14.x | sudo -E bash - && apt-get install -y nodejs
@@ -86,9 +89,13 @@ esac
8689

8790

8891
#### Donwload Files ####
92+
print_brake 25
93+
echo "* ${GREEN}Downloading files...${reset}"
94+
print_brake 25
8995
download_files() {
9096
cd /var/www/pterodactyl/resources/scripts
9197
curl -o user.css https://raw.githubusercontent.com/Ferks-FK/Pterodactyl-AutoThemes/main/themes/version1.x/Dracula/user.css
98+
curl -o admin.css https://raw.githubusercontent.com/Ferks-FK/Pterodactyl-AutoThemes/main/themes/version1.x/Dracula/admin.css
9299
rm -R index.tsx
93100
curl -o index.tsx https://raw.githubusercontent.com/Ferks-FK/Pterodactyl-AutoThemes/main/themes/version1.x/Dracula/index.tsx
94101
cd
@@ -103,11 +110,9 @@ production() {
103110
DIR=/var/www/pterodactyl
104111

105112
if [ -d "$DIR" ]; then
106-
echo
107-
echo "**********************"
108-
echo "* Producing panel... *"
109-
echo "**********************"
110-
echo
113+
print_brake 25
114+
echo "* ${GREEN}Producing panel...${reset}"
115+
print_brake 25
111116
npm i -g yarn
112117
cd /var/www/pterodactyl
113118
yarn install
@@ -118,13 +123,13 @@ fi
118123

119124

120125
bye() {
121-
print_brake 25
126+
print_brake 40
122127
echo
123128
echo -e "* ${GREEN}The theme ${YELLOW}Dracula${GREEN} was successfully installed.${reset}"
124129
echo -e "* ${GREEN}Thank you for using this script.${reset}"
125-
echo -e "* ${GREEN}Support group: $(hyperlink "$SUPPORT_LINK")"
130+
echo -e "* ${GREEN}Support group: $(hyperlink "$SUPPORT_LINK")${reset}"
126131
echo
127-
print_brake 25
132+
print_brake 40
128133
}
129134

130135

0 commit comments

Comments
 (0)