Skip to content

Commit e1e35e8

Browse files
committed
[hotfix/offline_driver] asar 빌드되어있는지 확인하는 구문의 win 대응
1 parent 5824df0 commit e1e35e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/src/main/mainRouter.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -366,7 +366,7 @@ class MainRouter {
366366
return;
367367
}
368368

369-
const asarIndex = app.getAppPath().indexOf('/app.asar');
369+
const asarIndex = app.getAppPath().indexOf(`${path.sep}app.asar`);
370370
let sourcePath = '';
371371
if (asarIndex > -1) {
372372
const asarPath = app.getAppPath().substr(0, asarIndex);

0 commit comments

Comments
 (0)