git ssb

1+

Daan Patchwork / patchwork



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.jschanged
package-lock.jsonchanged
package.jsonchanged
lib/window.jsView
@@ -5,9 +5,10 @@
55 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
1314 electron.ipcMain.on('ready-to-show', handleReadyToShow)
package-lock.jsonView
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.jsonView
@@ -102,9 +102,9 @@
102102 },
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 },
110110 "optionalDependencies": {}

Built with git-ssb-web