Chia-Network / chia-blockchain-gui

Chia blockchain GUI in electron/react
https://chia.net
Apache License 2.0
331 stars 247 forks source link

Upgrade Electron to v30 #2326

Closed ChiaMineJP closed 4 months ago

ChiaMineJP commented 4 months ago

Summary

Test

OS Arch Version Launch
macOS arm64 14.3.1 OK
Windows x86_64 10 OK
Ubuntu x86_64 22.04 OK
Fedora x86_64 39 OK

Why modified electron/main.ts?

I found that there is a flicker on GUI launch when darkmode is enabled after upgrading Electron to 30.0.1.

https://github.com/Chia-Network/chia-blockchain-gui/assets/84098616/489e6206-253e-412f-9375-4722011df86e

socket-security[bot] commented 4 months ago

New and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/@electron/remote@2.1.2 None 0 72 kB electron-cfa
npm/electron-winstaller@5.3.1 filesystem, shell Transitive: environment +27 36.2 MB electron-cfa
npm/electron@30.0.1 environment, filesystem, shell Transitive: eval, network +69 5.06 MB electron-nightly

🚮 Removed packages: npm/@electron/remote@2.0.10, npm/electron-winstaller@5.1.0, npm/electron@27.0.0

View full report↗︎