Skip to content

Commit c10e5b7

Browse files
Merge pull request #167 from smack0007/manifest-path
manifestJsonFilePath is now calculated with path.join instead of bein…
2 parents ac9d346 + 0c02444 commit c10e5b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ElectronNET.Host/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ let appApi, menu, dialogApi, notification, tray, webContents;
99
let globalShortcut, shellApi, screen, clipboard;
1010
let splashScreen, mainWindowId;
1111

12-
const manifestJsonFilePath = './bin/electron.manifest.json';
12+
const manifestJsonFilePath = path.join(__dirname, 'bin', 'electron.manifest.json');
1313
const manifestJsonFile = require(manifestJsonFilePath);
1414
if (manifestJsonFile.singleInstance) {
1515
const shouldQuit = app.requestSingleInstanceLock();

0 commit comments

Comments
 (0)