Skip to content

Commit

Permalink
Updated from Electron 8 to 12
Browse files Browse the repository at this point in the history
  • Loading branch information
Dinokaiz2 committed Apr 25, 2021
1 parent 297aa7c commit ecda681
Show file tree
Hide file tree
Showing 3 changed files with 1,290 additions and 5,675 deletions.
4 changes: 3 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
const {app, BrowserWindow} = require("electron");

function createWindow() {
app.allowRendererProcessReuse = false;
let win = new BrowserWindow({
width: 800,
height: 600,
webPreferences: {
nodeIntegration: true
nodeIntegration: true,
contextIsolation: false
}
});
win.loadFile("index.html");
Expand Down
Loading

0 comments on commit ecda681

Please sign in to comment.