Skip to content
This repository was archived by the owner on Oct 18, 2024. It is now read-only.

Commit ffd467d

Browse files
committed
wip
1 parent 25782cc commit ffd467d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

dist/server/php.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ function getArgumentEnv() {
6565
return env;
6666
}
6767
function getAppPath() {
68-
let appPath = (0, path_1.join)(__dirname, '../../resources/app/').replace('app.asar', 'app.asar.unpacked');
68+
let appPath = (0, path_1.join)(__dirname, '../../../../resources/app/').replace('app.asar', 'app.asar.unpacked');
6969
if (process.env.NODE_ENV === 'development' || argumentEnv.TESTING == 1) {
7070
appPath = process.env.APP_PATH || argumentEnv.APP_PATH;
7171
}

src/server/php.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ function getArgumentEnv() {
7474
}
7575

7676
function getAppPath() {
77-
let appPath = join(__dirname, '../../resources/app/').replace('app.asar', 'app.asar.unpacked')
77+
let appPath = join(__dirname, '../../../../resources/app/').replace('app.asar', 'app.asar.unpacked')
7878

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

0 commit comments

Comments
 (0)