Skip to content

Commit

Permalink
Fix path when bundling the app
Browse files Browse the repository at this point in the history
  • Loading branch information
mpociot committed Jul 27, 2023
1 parent ea5b463 commit 8fbfc9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/php.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,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 8fbfc9b

Please sign in to comment.