Skip to content

Commit

Permalink
Fix typo & some spacing
Browse files Browse the repository at this point in the history
  • Loading branch information
nguyendon committed Jul 11, 2021
1 parent e8f36a3 commit d2b6ee0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@ function createWindow(): BrowserWindow {
webPreferences: {
nodeIntegration: true,
allowRunningInsecureContent: (serve) ? true : false,
contextIsolation: false, // false if you want to run 2e2 test with Spectron
enableRemoteModule : true // true if you want to run 2e2 test with Spectron or use remote module in renderer context (ie. Angular)
contextIsolation: false, // false if you want to run e2e test with Spectron
enableRemoteModule : true // true if you want to run e2e test with Spectron or use remote module in renderer context (ie. Angular)
},
});


if (serve) {
win.webContents.openDevTools();
Expand Down

0 comments on commit d2b6ee0

Please sign in to comment.