1
0
mirror of https://github.com/tommytran732/Pterodactyl-Script synced 2024-09-16 14:14:42 -04:00

Update Mobile Module to 1.0.7

This commit is contained in:
TommyTran732 2020-08-09 23:14:18 -04:00 committed by GitHub
parent 57a57b3d73
commit 4fe890f6ae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1098,11 +1098,15 @@ upgrade_standalone_sftp(){
install_mobile(){
cd /var/www/pterodactyl
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
php artisan migrate --force
}
upgrade_mobile(){
cd /var/www/pterodactyl
composer update pterodactyl/mobile-addon
php artisan migrate --force
}
install_phpmyadmin(){
output "Installing phpMyAdmin..."
@ -1476,8 +1480,7 @@ case $installoption in
;;
9) install_mobile
;;
10) cd /var/www/pterodactyl
composer update pterodactyl/mobile-addon
10) upgrade_mobile
;;
11) install_phpmyadmin
;;