We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e4cecf1 commit 208e0b1Copy full SHA for 208e0b1
main.ts
@@ -25,6 +25,9 @@ function createWindow() {
25
electron: require(`${__dirname}/node_modules/electron`)
26
});
27
win.loadURL('http://localhost:4200');
28
+
29
+ // The following is optional and will open the DevTools:
30
+ win.webContents.openDevTools();
31
} else {
32
// load the dist folder from Angular
33
win.loadURL(
@@ -37,10 +40,6 @@ function createWindow() {
37
40
);
38
41
}
39
42
-
- // The following is optional and will open the DevTools:
- win.webContents.openDevTools()
43
44
win.on('closed', () => {
45
win = null;
46
0 commit comments