mirror of
https://github.com/tommytran732/Pterodactyl-Script
synced 2024-11-22 10:31:34 -05:00
Update Mobile Module to 1.0.7
This commit is contained in:
parent
57a57b3d73
commit
4fe890f6ae
@ -1098,11 +1098,15 @@ upgrade_standalone_sftp(){
|
|||||||
install_mobile(){
|
install_mobile(){
|
||||||
cd /var/www/pterodactyl
|
cd /var/www/pterodactyl
|
||||||
composer config repositories.cloud composer https://packages.pterodactyl.cloud
|
composer config repositories.cloud composer https://packages.pterodactyl.cloud
|
||||||
composer require friendsofphp/php-cs-fixer 2.15.1 --dev
|
|
||||||
composer require pterodactyl/mobile-addon --update-no-dev --optimize-autoloader
|
composer require pterodactyl/mobile-addon --update-no-dev --optimize-autoloader
|
||||||
php artisan migrate --force
|
php artisan migrate --force
|
||||||
}
|
}
|
||||||
|
|
||||||
|
upgrade_mobile(){
|
||||||
|
cd /var/www/pterodactyl
|
||||||
|
composer update pterodactyl/mobile-addon
|
||||||
|
php artisan migrate --force
|
||||||
|
}
|
||||||
|
|
||||||
install_phpmyadmin(){
|
install_phpmyadmin(){
|
||||||
output "Installing phpMyAdmin..."
|
output "Installing phpMyAdmin..."
|
||||||
@ -1476,8 +1480,7 @@ case $installoption in
|
|||||||
;;
|
;;
|
||||||
9) install_mobile
|
9) install_mobile
|
||||||
;;
|
;;
|
||||||
10) cd /var/www/pterodactyl
|
10) upgrade_mobile
|
||||||
composer update pterodactyl/mobile-addon
|
|
||||||
;;
|
;;
|
||||||
11) install_phpmyadmin
|
11) install_phpmyadmin
|
||||||
;;
|
;;
|
||||||
|
Loading…
Reference in New Issue
Block a user