Commit 8c556319 authored by jtc42's avatar jtc42
Browse files

Explicit nodeIntegration: true

parent da9238ff
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -97,7 +97,10 @@ function createWindow() {
    frame: !store.get('drawCustomTitleBar'),
    width: 1124, 
    height: 800,
    icon: path.join(__dirname, '/icons/png/64x64.png')
    icon: path.join(__dirname, '/icons/png/64x64.png'),
    webPreferences: {
      nodeIntegration: true
    }
  })

  // Make a context menu