File tree Expand file tree Collapse file tree 1 file changed +13
-8
lines changed
themes/version1.x/Dracula Expand file tree Collapse file tree 1 file changed +13
-8
lines changed Original file line number Diff line number Diff line change @@ -72,6 +72,9 @@ check_distro() {
7272# ### Install Dependencies ####
7373
7474dependencies () {
75+ print_brake 20
76+ echo " * ${GREEN} Installing dependencies...${reset} "
77+ print_brake 20
7578case " $OS " in
7679debian | ubuntu)
7780curl -sL https://deb.nodesource.com/setup_14.x | sudo -E bash - && apt-get install -y nodejs
8689
8790
8891# ### Donwload Files ####
92+ print_brake 25
93+ echo " * ${GREEN} Downloading files...${reset} "
94+ print_brake 25
8995download_files () {
9096cd /var/www/pterodactyl/resources/scripts
9197curl -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
9299rm -R index.tsx
93100curl -o index.tsx https://raw.githubusercontent.com/Ferks-FK/Pterodactyl-AutoThemes/main/themes/version1.x/Dracula/index.tsx
94101cd
@@ -103,11 +110,9 @@ production() {
103110DIR=/var/www/pterodactyl
104111
105112if [ -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
111116npm i -g yarn
112117cd /var/www/pterodactyl
113118yarn install
118123
119124
120125bye () {
121- print_brake 25
126+ print_brake 40
122127echo
123128echo -e " * ${GREEN} The theme ${YELLOW} Dracula${GREEN} was successfully installed.${reset} "
124129echo -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} "
126131echo
127- print_brake 25
132+ print_brake 40
128133}
129134
130135
You can’t perform that action at this time.
0 commit comments