File tree Expand file tree Collapse file tree 7 files changed +20
-10
lines changed
Expand file tree Collapse file tree 7 files changed +20
-10
lines changed Original file line number Diff line number Diff line change 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+
69This is a theme installation script for the [ Pterodactyl Panel] ( https://github.com/pterodactyl/panel ) .<br >
710The 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 >
Original file line number Diff line number Diff line change 1212#
1313# #######################################################
1414
15+
1516SCRIPT_VERSION=" v1.3"
1617
1718
@@ -109,12 +110,12 @@ bash <(curl -s https://raw.githubusercontent.com/Ferks-FK/Pterodactyl-AutoThemes
109110while [ " $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"
Original file line number Diff line number Diff line change @@ -15,12 +15,14 @@ set -e
1515
1616# ### Fixed Variables ####
1717
18+
1819SCRIPT_VERSION=" v1.3"
1920SUPPORT_LINK=" https://discord.gg/buDBbSGJmQ"
2021
2122# ### Update Variables ####
2223
2324update_variables () {
25+ CONFIG_FILE=" $PTERO /config/app.php"
2426PANEL_VERSION=$( cat " $CONFIG_FILE " | grep -n ^ | grep ^12: | cut -d: -f2 | cut -c18-23 | sed " s/'//g" )
2527}
2628
Original file line number Diff line number Diff line change @@ -15,12 +15,14 @@ set -e
1515
1616# ### Fixed Variables ####
1717
18+
1819SCRIPT_VERSION=" v1.3"
1920SUPPORT_LINK=" https://discord.gg/buDBbSGJmQ"
2021
2122# ### Update Variables ####
2223
2324update_variables () {
25+ CONFIG_FILE=" $PTERO /config/app.php"
2426PANEL_VERSION=$( cat " $CONFIG_FILE " | grep -n ^ | grep ^12: | cut -d: -f2 | cut -c18-23 | sed " s/'//g" )
2527}
2628
Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ SUPPORT_LINK="https://discord.gg/buDBbSGJmQ"
2121# ### Update Variables ####
2222
2323update_variables () {
24+ CONFIG_FILE=" $PTERO /config/app.php"
2425PANEL_VERSION=$( cat " $CONFIG_FILE " | grep -n ^ | grep ^12: | cut -d: -f2 | cut -c18-23 | sed " s/'//g" )
2526}
2627
Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ SUPPORT_LINK="https://discord.gg/buDBbSGJmQ"
2121# ### Update Variables ####
2222
2323update_variables () {
24+ CONFIG_FILE=" $PTERO /config/app.php"
2425PANEL_VERSION=$( cat " $CONFIG_FILE " | grep -n ^ | grep ^12: | cut -d: -f2 | cut -c18-23 | sed " s/'//g" )
2526}
2627
Original file line number Diff line number Diff line change @@ -18,9 +18,12 @@ set -e
1818SCRIPT_VERSION=" v1.3"
1919SUPPORT_LINK=" https://discord.gg/buDBbSGJmQ"
2020
21+ # ### Update Variables ####
2122
2223update_variables () {
2324ZING=" $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
2629print_brake () {
You can’t perform that action at this time.
0 commit comments