Skip to content

Commit

Permalink
remove plugins install from admin
Browse files Browse the repository at this point in the history
  • Loading branch information
3x1io committed Oct 12, 2023
1 parent b94efcc commit 913d9b1
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions src/Console/TomatoAdminInstall.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,15 +51,7 @@ public function handle(): void
$this->handelFile('/resources/js', resource_path('/js'), 'folder');
$this->handelFile('/resources/css', resource_path('/css'), 'folder');
$this->callSilent('optimize:clear');
$this->info('🍅 Install NPM packages ...');
$this->yarnCommand(['install']);
$this->yarnCommand(['build']);
$install = $this->ask('🍅 Do you want to install Tomato Plugins? (yes/no) [yes]:', 'yes');
if($install === 'y' || $install === 'yes' || $install === null){
$this->call('tomato:plugins');
}
else {
$this->info('🍅 Tomato Admin installed successfully.');
}
$this->info('🍅 now please run yarn & yarn build');
$this->info('🍅 Tomato Admin installed successfully.');
}
}

0 comments on commit 913d9b1

Please sign in to comment.