diff --git a/resources/js/electron-plugin/dist/server/php.js b/resources/js/electron-plugin/dist/server/php.js index 4ce3ee5..0d65dc5 100644 --- a/resources/js/electron-plugin/dist/server/php.js +++ b/resources/js/electron-plugin/dist/server/php.js @@ -210,7 +210,7 @@ function serveApp(secret, apiPort, phpIniSettings) { }); if (!runningSecureBuild()) { console.log('Linking storage path...'); - callPhpSync(['artisan', 'storage:link', '--force'], phpOptions, phpIniSettings); + callPhp(['artisan', 'storage:link', '--force'], phpOptions, phpIniSettings); } if (shouldOptimize(store)) { console.log('Caching view and routes...'); diff --git a/resources/js/electron-plugin/src/server/php.ts b/resources/js/electron-plugin/src/server/php.ts index b3bd6ec..e6301ad 100644 --- a/resources/js/electron-plugin/src/server/php.ts +++ b/resources/js/electron-plugin/src/server/php.ts @@ -320,7 +320,7 @@ function serveApp(secret, apiPort, phpIniSettings): Promise { * (whether it's a secured bundle or not), so symlinking feels redundant */ console.log('Linking storage path...'); - callPhpSync(['artisan', 'storage:link', '--force'], phpOptions, phpIniSettings) + callPhp(['artisan', 'storage:link', '--force'], phpOptions, phpIniSettings) } // Cache the project