Skip to content
This repository was archived by the owner on May 27, 2026. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/build-plugin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:

- name: Commit changes
if: github.event_name == 'pull_request'
uses: stefanzweifel/git-auto-commit-action@v6
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: Build plugin

Expand Down
4 changes: 0 additions & 4 deletions resources/js/electron-plugin/dist/server/php.js
Original file line number Diff line number Diff line change
Expand Up @@ -208,10 +208,6 @@ function serveApp(secret, apiPort, phpIniSettings) {
const store = new Store({
name: 'nativephp',
});
if (!runningSecureBuild()) {
console.log('Linking storage path...');
callPhp(['artisan', 'storage:link', '--force'], phpOptions, phpIniSettings);
}
if (shouldOptimize(store)) {
console.log('Caching view and routes...');
let result = callPhpSync(['artisan', 'optimize'], phpOptions, phpIniSettings);
Expand Down
12 changes: 0 additions & 12 deletions resources/js/electron-plugin/src/server/php.ts
Original file line number Diff line number Diff line change
Expand Up @@ -311,18 +311,6 @@ function serveApp(secret, apiPort, phpIniSettings): Promise<ProcessResult> {
name: 'nativephp', // So it doesn't conflict with settings of the app
});

// Make sure the storage path is linked - as people can move the app around, we
// need to run this every time the app starts
if (!runningSecureBuild()) {
/*
* Simon: Note for later that we should strip out using storage:link
* all of the necessary files for the app to function should be a part of the bundle
* (whether it's a secured bundle or not), so symlinking feels redundant
*/
console.log('Linking storage path...');
callPhp(['artisan', 'storage:link', '--force'], phpOptions, phpIniSettings)
}

// Cache the project
if (shouldOptimize(store)) {
console.log('Caching view and routes...');
Expand Down