Skip to content
This repository was archived by the owner on May 12, 2021. It is now read-only.

Commit fe4e56b

Browse files
Bump electron.
To the latest version. Seems to work, mostly. There's some slowness happening in the search suggestions & completions, and of course there's still no context menu. But posting & scuttling & reading still works, so there's that. This still relies on the `remote` module, which is deprecated and considered harmful. Need to work around that in the future, which... makes sense.
1 parent 9b51413 commit fe4e56b

File tree

3 files changed

+58
-46
lines changed

3 files changed

+58
-46
lines changed

lib/window.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ module.exports = function Window (config, path, opts) {
66
const window = new electron.BrowserWindow(extend({
77
show: false,
88
webPreferences: {
9-
nodeIntegration: true // XXX: Maybe not always necessary (?)
9+
nodeIntegration: true, // XXX: Maybe not always necessary (?)
10+
enableRemoteModule: true,
1011
}
1112
}, opts))
1213

package-lock.json

Lines changed: 55 additions & 44 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@
103103
"devDependencies": {
104104
"changelog-version": "^2.0.0",
105105
"colors": "^1.3.3",
106-
"electron": "^8.5.5",
106+
"electron": "^11.3.0",
107107
"electron-builder": "^22.9.1",
108108
"standard": "^16.0.3"
109109
},

0 commit comments

Comments
 (0)