Add version checking to daemon and panel
Also includes some buttons for users to get help from the panel.
This commit is contained in:
parent
261535d83d
commit
90cd2b677e
6 changed files with 157 additions and 9 deletions
|
@ -24,6 +24,7 @@
|
|||
namespace Pterodactyl\Console\Commands;
|
||||
|
||||
use Illuminate\Console\Command;
|
||||
use Version;
|
||||
|
||||
class ShowVersion extends Command
|
||||
{
|
||||
|
@ -58,6 +59,6 @@ class ShowVersion extends Command
|
|||
*/
|
||||
public function handle()
|
||||
{
|
||||
$this->info('You are running Pterodactyl Panel ' . config('app.version'));
|
||||
$this->info('You are running Pterodactyl Panel v' . Version::getCurrentPanel() . ' (' . ((Version::isLatestPanel()) ? 'Up to Date' : 'Latest: ' . Version::getDaemon()) . ')');
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue