Skip to content

Commit 0c02444

Browse files
committed
manifestJsonFilePath is now calculated with path.join instead of being a hard coded string.
1 parent ac9d346 commit 0c02444

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)