Skip to content

Commit d78203f

Browse files
author
Shal Jain
committed
Including electron to eliminate Electron not found err sg
1 parent f7c71e7 commit d78203f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: main.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ function createWindow() {
2727

2828
if (serve) {
2929
require('electron-reload')(__dirname, {
30-
});
30+
electron: require(`${__dirname}/node_modules/electron`)});
3131
win.loadURL('http://localhost:4200');
3232
} else {
3333
win.loadURL(url.format({

0 commit comments

Comments
 (0)