Skip to content

Commit dbe9fd8

Browse files
authored
fix: replace callPhpSync with callPhp for storage linking (#226)
1 parent 82a8a51 commit dbe9fd8

File tree

2 files changed

+2
-2
lines changed
  • resources/js/electron-plugin

2 files changed

+2
-2
lines changed

resources/js/electron-plugin/dist/server/php.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ function serveApp(secret, apiPort, phpIniSettings) {
210210
});
211211
if (!runningSecureBuild()) {
212212
console.log('Linking storage path...');
213-
callPhpSync(['artisan', 'storage:link', '--force'], phpOptions, phpIniSettings);
213+
callPhp(['artisan', 'storage:link', '--force'], phpOptions, phpIniSettings);
214214
}
215215
if (shouldOptimize(store)) {
216216
console.log('Caching view and routes...');

resources/js/electron-plugin/src/server/php.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ function serveApp(secret, apiPort, phpIniSettings): Promise<ProcessResult> {
320320
* (whether it's a secured bundle or not), so symlinking feels redundant
321321
*/
322322
console.log('Linking storage path...');
323-
callPhpSync(['artisan', 'storage:link', '--force'], phpOptions, phpIniSettings)
323+
callPhp(['artisan', 'storage:link', '--force'], phpOptions, phpIniSettings)
324324
}
325325

326326
// Cache the project

0 commit comments

Comments
 (0)