Downgrade to Electron 17.4.0 to fix Linux font rendering issue in Ubuntu 16 VM

The issue is fixed by passing —disable-gpu at launch, but it seems like it might be required for some users and the text is totally unlegible without the flag. Even the stock “electron” app exhibits the problem and it wasn’t required in Electron 17.4 so I’m hopeful they’ll fix it.
This commit is contained in:
Ben Gotow 2022-04-17 23:06:54 -05:00
parent bf32a73659
commit a476c23089
2 changed files with 22 additions and 10 deletions

30
package-lock.json generated
View file

@ -49,7 +49,7 @@
"@typescript-eslint/parser": "^4.7.0",
"chalk": "1.x.x",
"devtron": "^1.4.0",
"electron": "18.0.3",
"electron": "17.4.0",
"electron-installer-dmg": "^3.0.0",
"electron-packager": "15.2.x",
"electron-winstaller": "2.x.x",
@ -2093,13 +2093,13 @@
}
},
"node_modules/electron": {
"version": "18.0.3",
"resolved": "https://registry.npmjs.org/electron/-/electron-18.0.3.tgz",
"integrity": "sha512-QRUZkGL8O/8CyDmTLSjBeRsZmGTPlPVeWnnpkdNqgHYYaOc/A881FKMiNzvQ9Cj0a+rUavDdwBUfUL82U3Ay7w==",
"version": "17.4.0",
"resolved": "https://registry.npmjs.org/electron/-/electron-17.4.0.tgz",
"integrity": "sha512-eMuCOZMB9qsY63qzxEkyyqM09qs6mrbPBBDJJZgd8pnPWftE4zKmFp3B1vdHzjQ+1c1r/siigxbWTrpDNNri0A==",
"hasInstallScript": true,
"dependencies": {
"@electron/get": "^1.13.0",
"@types/node": "^16.11.26",
"@types/node": "^14.6.2",
"extract-zip": "^1.0.3"
},
"bin": {
@ -2392,6 +2392,11 @@
"resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz",
"integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g="
},
"node_modules/electron/node_modules/@types/node": {
"version": "14.18.13",
"resolved": "https://registry.npmjs.org/@types/node/-/node-14.18.13.tgz",
"integrity": "sha512-Z6/KzgyWOga3pJNS42A+zayjhPbf2zM3hegRQaOPnLOzEi86VV++6FLDWgR1LGrVCRufP/ph2daa3tEa5br1zA=="
},
"node_modules/emoji-regex": {
"version": "9.2.2",
"resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-9.2.2.tgz",
@ -13764,13 +13769,20 @@
}
},
"electron": {
"version": "18.0.3",
"resolved": "https://registry.npmjs.org/electron/-/electron-18.0.3.tgz",
"integrity": "sha512-QRUZkGL8O/8CyDmTLSjBeRsZmGTPlPVeWnnpkdNqgHYYaOc/A881FKMiNzvQ9Cj0a+rUavDdwBUfUL82U3Ay7w==",
"version": "17.4.0",
"resolved": "https://registry.npmjs.org/electron/-/electron-17.4.0.tgz",
"integrity": "sha512-eMuCOZMB9qsY63qzxEkyyqM09qs6mrbPBBDJJZgd8pnPWftE4zKmFp3B1vdHzjQ+1c1r/siigxbWTrpDNNri0A==",
"requires": {
"@electron/get": "^1.13.0",
"@types/node": "^16.11.26",
"@types/node": "^14.6.2",
"extract-zip": "^1.0.3"
},
"dependencies": {
"@types/node": {
"version": "14.18.13",
"resolved": "https://registry.npmjs.org/@types/node/-/node-14.18.13.tgz",
"integrity": "sha512-Z6/KzgyWOga3pJNS42A+zayjhPbf2zM3hegRQaOPnLOzEi86VV++6FLDWgR1LGrVCRufP/ph2daa3tEa5br1zA=="
}
}
},
"electron-installer-dmg": {

View file

@ -52,7 +52,7 @@
"@typescript-eslint/parser": "^4.7.0",
"chalk": "1.x.x",
"devtron": "^1.4.0",
"electron": "18.0.3",
"electron": "17.4.0",
"electron-installer-dmg": "^3.0.0",
"electron-packager": "15.2.x",
"electron-winstaller": "2.x.x",