Skip to content

Commit

Permalink
Installation Issue Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
jiten14 committed Sep 9, 2024
1 parent 5e32a52 commit 5cbcff3
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/JitoneAiServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,16 @@ public function configurePackage(Package $package): void
->publishConfigFile()
->askToStarRepoOnGitHub('jiten14/jitone-ai');
});

$this->runStorageLinkCommand();
}

protected function runStorageLinkCommand(): void
{
// Check if the symbolic link already exists before running the command
if (!file_exists(public_path('storage'))) {
Artisan::call('storage:link');
}
}

public function packageRegistered(): void
Expand Down

0 comments on commit 5cbcff3

Please sign in to comment.