Skip to content

Commit

Permalink
[BUG] Change the relative path to the application in order to make it…
Browse files Browse the repository at this point in the history
… line up again (#125)
  • Loading branch information
JCombee authored Nov 10, 2024
1 parent 3cf1b6f commit 502bfe5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion resources/js/electron-plugin/dist/server/php.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ function getArgumentEnv() {
return env;
}
function getAppPath() {
let appPath = join(__dirname, '../../../../../resources/app/').replace('app.asar', 'app.asar.unpacked');
let appPath = join(__dirname, '../../resources/app/').replace('app.asar', 'app.asar.unpacked');
if (process.env.NODE_ENV === 'development' || argumentEnv.TESTING == 1) {
appPath = process.env.APP_PATH || argumentEnv.APP_PATH;
}
Expand Down
2 changes: 1 addition & 1 deletion resources/js/electron-plugin/src/server/php.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ function getArgumentEnv() {
}

function getAppPath() {
let appPath = join(__dirname, '../../../../../resources/app/').replace('app.asar', 'app.asar.unpacked')
let appPath = join(__dirname, '../../resources/app/').replace('app.asar', 'app.asar.unpacked')

if (process.env.NODE_ENV === 'development' || argumentEnv.TESTING == 1) {
appPath = process.env.APP_PATH || argumentEnv.APP_PATH;
Expand Down

0 comments on commit 502bfe5

Please sign in to comment.