diff --git a/src/JitoneAiServiceProvider.php b/src/JitoneAiServiceProvider.php index 16738d8..5463e51 100644 --- a/src/JitoneAiServiceProvider.php +++ b/src/JitoneAiServiceProvider.php @@ -28,10 +28,11 @@ public function configurePackage(Package $package): void ->hasInstallCommand(function (InstallCommand $command) { $command ->publishConfigFile() - ->askToStarRepoOnGitHub('jiten14/jitone-ai'); + ->askToStarRepoOnGitHub('jiten14/jitone-ai') + ->runAfterInstall(function () { + $this->runStorageLinkCommand(); + }); }); - - $this->runStorageLinkCommand(); } protected function runStorageLinkCommand(): void