aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLibravatar Stefan Malzner <stefan@adlk.io>2019-01-30 10:25:56 +0100
committerLibravatar Stefan Malzner <stefan@adlk.io>2019-01-30 10:25:56 +0100
commitc362b46b6c6b11d0e63b6b76a95e31c75f388cf9 (patch)
tree2a9452f0b839cc2efbaad9e2191854b9e0753477 /src
parentFix context menu (diff)
downloadferdium-app-c362b46b6c6b11d0e63b6b76a95e31c75f388cf9.tar.gz
ferdium-app-c362b46b6c6b11d0e63b6b76a95e31c75f388cf9.tar.zst
ferdium-app-c362b46b6c6b11d0e63b6b76a95e31c75f388cf9.zip
Add node_integration (electron 5)
Diffstat (limited to 'src')
-rw-r--r--src/index.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/index.js b/src/index.js
index 195e9e863..f34df8c17 100644
--- a/src/index.js
+++ b/src/index.js
@@ -161,6 +161,9 @@ const createWindow = () => {
161 titleBarStyle: isMac ? 'hidden' : '', 161 titleBarStyle: isMac ? 'hidden' : '',
162 frame: isLinux, 162 frame: isLinux,
163 backgroundColor: !settings.get('darkMode') ? '#3498db' : '#1E1E1E', 163 backgroundColor: !settings.get('darkMode') ? '#3498db' : '#1E1E1E',
164 webPreferences: {
165 nodeIntegration: true,
166 },
164 }); 167 });
165 168
166 // Initialize System Tray 169 // Initialize System Tray