You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
protected$description = 'Executes the commands necessary for getting Pterodactyl operational after installing new files.';
19
+
protected$description = 'Downloads a new archive for Pterodactyl from GitHub and then executes the normal upgrade commands.';
18
20
19
21
/**
20
22
* Executes an upgrade command which will run through all of our standard
@@ -28,16 +30,39 @@ class UpgradeCommand extends Command
28
30
*/
29
31
publicfunctionhandle()
30
32
{
33
+
$skipDownload = $this->option('skip-download');
34
+
35
+
if (!$skipDownload) {
36
+
$this->output->warning('This command does not verify the integrity of downloaded assets. Please ensure that you trust the download source before continuing. If you do not wish to download an archive, please indicate that using the --skip-download flag, or answering "no" to the question below.');
37
+
$this->output->comment('Download Source (set with --url=):');
0 commit comments