Skip to content

Commit 14842b9

Browse files
authored
Merge branch 'main' into Big_Update
2 parents 63a8b01 + ddb50b3 commit 14842b9

File tree

7 files changed

+20
-10
lines changed

7 files changed

+20
-10
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@
33
</h1>
44
</br>
55

6+
![Discord](https://img.shields.io/discord/876934115302178876?label=DISCORD&style=for-the-badge)
7+
![Contributors](https://img.shields.io/github/contributors/Ferks-FK/Pterodactyl-AutoThemes?style=for-the-badge)
8+
69
This is a theme installation script for the [Pterodactyl Panel](https://github.com/pterodactyl/panel).<br>
710
The script installs themes that are compatible with their respective panel versions.
811

9-
![1](https://user-images.githubusercontent.com/69549678/135567472-4be8d459-1ce1-4eb8-92ab-758eba37a563.PNG)
10-
11-
12-
12+
![1](https://user-images.githubusercontent.com/69549678/150704252-85613f25-5a7e-437d-ae96-de1864ba2196.PNG)
1313

1414

1515
<h1 align="center">Support</h1>

install.sh

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ set -e
1212
#
1313
########################################################
1414

15+
1516
SCRIPT_VERSION="v1.3"
1617

1718

@@ -109,12 +110,12 @@ bash <(curl -s https://raw.githubusercontent.com/Ferks-FK/Pterodactyl-AutoThemes
109110
while [ "$done" == false ]; do
110111
options=(
111112
"Restore Panel Backup (Only if you have an installation problem.)"
112-
"Install Dracula (Only 1.6.6)"
113-
"Install Enola (Only 1.6.6)"
114-
"Install Twilight (Only 1.6.6)"
115-
"Install Zing Theme (Only 1.6.6)"
116-
"Install Flanco Theme (Only 1.6.6)"
117-
"Install Background Video (Only 1.6.6)"
113+
"Install Dracula (Only 1.6.6 and 1.7.0)"
114+
"Install Enola (Only 1.6.6 and 1.7.0)"
115+
"Install Twilight (Only 1.6.6 and 1.7.0)"
116+
"Install Zing Theme (Only 1.6.6 and 1.7.0)"
117+
"Install Flanco Theme (Only 1.6.6 and 1.7.0"
118+
"Install Background Video (Only 1.6.6 and 1.7.0)"
118119

119120

120121
"Cancel Installation"

themes/version1.x/Dracula/build.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,14 @@ set -e
1515

1616
#### Fixed Variables ####
1717

18+
1819
SCRIPT_VERSION="v1.3"
1920
SUPPORT_LINK="https://discord.gg/buDBbSGJmQ"
2021

2122
#### Update Variables ####
2223

2324
update_variables() {
25+
CONFIG_FILE="$PTERO/config/app.php"
2426
PANEL_VERSION=$(cat "$CONFIG_FILE" | grep -n ^ | grep ^12: | cut -d: -f2 | cut -c18-23 | sed "s/'//g")
2527
}
2628

themes/version1.x/Enola/build.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,14 @@ set -e
1515

1616
#### Fixed Variables ####
1717

18+
1819
SCRIPT_VERSION="v1.3"
1920
SUPPORT_LINK="https://discord.gg/buDBbSGJmQ"
2021

2122
#### Update Variables ####
2223

2324
update_variables() {
25+
CONFIG_FILE="$PTERO/config/app.php"
2426
PANEL_VERSION=$(cat "$CONFIG_FILE" | grep -n ^ | grep ^12: | cut -d: -f2 | cut -c18-23 | sed "s/'//g")
2527
}
2628

themes/version1.x/FlancoTheme/build.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ SUPPORT_LINK="https://discord.gg/buDBbSGJmQ"
2121
#### Update Variables ####
2222

2323
update_variables() {
24+
CONFIG_FILE="$PTERO/config/app.php"
2425
PANEL_VERSION=$(cat "$CONFIG_FILE" | grep -n ^ | grep ^12: | cut -d: -f2 | cut -c18-23 | sed "s/'//g")
2526
}
2627

themes/version1.x/Twilight/build.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ SUPPORT_LINK="https://discord.gg/buDBbSGJmQ"
2121
#### Update Variables ####
2222

2323
update_variables() {
24+
CONFIG_FILE="$PTERO/config/app.php"
2425
PANEL_VERSION=$(cat "$CONFIG_FILE" | grep -n ^ | grep ^12: | cut -d: -f2 | cut -c18-23 | sed "s/'//g")
2526
}
2627

themes/version1.x/ZingTheme/build.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,12 @@ set -e
1818
SCRIPT_VERSION="v1.3"
1919
SUPPORT_LINK="https://discord.gg/buDBbSGJmQ"
2020

21+
#### Update Variables ####
2122

2223
update_variables() {
2324
ZING="$PTERO/resources/scripts/components/SidePanel.tsx"
25+
CONFIG_FILE="$PTERO/config/app.php"
26+
PANEL_VERSION=$(cat "$CONFIG_FILE" | grep -n ^ | grep ^12: | cut -d: -f2 | cut -c18-23 | sed "s/'//g")
2427
}
2528

2629
print_brake() {

0 commit comments

Comments
 (0)