Commit fe4e56b2dea67a6b17e1545cc56ea259702342b1
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.Daan Wynen committed on 3/6/2021, 10:11:18 PM
Parent: 9b514132e92bd744e5003fc4f189a46ed5cdbf7e
Files changed
lib/window.js | changed |
package-lock.json | changed |
package.json | changed |
lib/window.js | ||
---|---|---|
@@ -5,9 +5,10 @@ | ||
5 | 5 … | module.exports = function Window (config, path, opts) { |
6 | 6 … | const window = new electron.BrowserWindow(extend({ |
7 | 7 … | show: false, |
8 | 8 … | webPreferences: { |
9 | - nodeIntegration: true // XXX: Maybe not always necessary (?) | |
9 … | + nodeIntegration: true, // XXX: Maybe not always necessary (?) | |
10 … | + enableRemoteModule: true, | |
10 | 11 … | } |
11 | 12 … | }, opts)) |
12 | 13 … | |
13 | 14 … | electron.ipcMain.on('ready-to-show', handleReadyToShow) |
package-lock.json | ||
---|---|---|
The diff is too large to show. Use a local git client to view these changes. Old file size: 459409 bytes New file size: 459717 bytes |
package.json | ||
---|---|---|
@@ -102,9 +102,9 @@ | ||
102 | 102 … | }, |
103 | 103 … | "devDependencies": { |
104 | 104 … | "changelog-version": "^2.0.0", |
105 | 105 … | "colors": "^1.3.3", |
106 | - "electron": "^8.5.5", | |
106 … | + "electron": "^11.3.0", | |
107 | 107 … | "electron-builder": "^22.9.1", |
108 | 108 … | "standard": "^16.0.3" |
109 | 109 … | }, |
110 | 110 … | "optionalDependencies": {} |
Built with git-ssb-web