Skip to content

Commit c144c62

Browse files
committed
Update Electron to 32.3.0
Notably, this fixes file picker portal support on Linux.
1 parent d1d8f18 commit c144c62

File tree

3 files changed

+6
-11
lines changed

3 files changed

+6
-11
lines changed

package-lock.json

+4-4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
"copy-webpack-plugin": "^6.4.1",
3232
"cross-env": "^7.0.3",
3333
"css-loader": "^1.0.1",
34-
"electron": "^32.0.2",
34+
"electron": "^32.3.0",
3535
"electron-builder": "^25.1.8",
3636
"file-loader": "^6.2.0",
3737
"postcss": "^8.4.13",

src-main/migrate.js

+1-6
Original file line numberDiff line numberDiff line change
@@ -117,12 +117,7 @@ const migrate = async () => {
117117
if (
118118
settings.dataVersion > MigrateWindow.LATEST_VERSION ||
119119
semverLt(desktopVersion, settings.desktopVersion) ||
120-
(semverLt(electronVersion, settings.electronVersion) && !(
121-
// Our v1.13.0-beta.3 uses Electron 32.2.7, but we then downgraded to 32.0.2 to workaround
122-
// a regression. This is technically a downgrade but it's a very small change so there is
123-
// no data loss, so we don't want to bother the user about the downgrade.
124-
electronVersion === '32.0.2' && settings.electronVersion === '32.2.7'
125-
))
120+
semverLt(electronVersion, settings.electronVersion)
126121
) {
127122
// Something was downgraded. This is not something we officially support.
128123
const changes = [];

0 commit comments

Comments
 (0)