diff options
author | Phie <phie@phie.ovh> | 2019-05-29 16:13:56 +0300 |
---|---|---|
committer | Phie <phie@phie.ovh> | 2019-05-29 16:13:56 +0300 |
commit | 2c0e5c5f1848ecb15d4fc372bfd93f411fa6eda7 (patch) | |
tree | 398063884e94fd7aff4fbdd00ea0d886a0625c51 /main.js | |
parent | 4cc060c625b3378cbf86bab519ad706b9818b3d0 (diff) |
adapting electron > 5
Diffstat (limited to 'main.js')
-rw-r--r-- | main.js | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -68,7 +68,11 @@ function createWindow() { width: 1030, height: 600, frame: settingsHelper.displayFrame(), - icon: path.join(__dirname, 'img/512x512.png') + icon: path.join(__dirname, 'img/512x512.png'), + webPreferences: { + nodeIntegration: true, + webviewTag: true + } }) win.setMenuBarVisibility(false) win.setMenu(null) |