Electron Releases - v12.0.2

npm install electron@v12.0.2
yarn add electron@v12.0.2

Release Notes

Fixes

  • Colors returned from systemPreferences.getAccentColor(), getSystemColor and getColor are now correctly converted into the devices color space. Previously the color would have been subtly incorrect. #28172 (Also in 11, 13)
  • Fixed desktopCapturer.getSources() promise result sometimes never resolving. #28281 (Also in 10, 11, 13)
  • Fixed a rare crash on Windows that could occur when emitting certain Tray events. #28111
  • Fixed an issue where some Node.js modules would hang on page reload on Windows. #28337 (Also in 13)
  • Fixed an issue where the drag regions in BrowserViews on macOS could be off in their y-axis. #28296 (Also in 10, 11, 13)
  • Fixed context menus not being positioned correctly when near the edge of the screen. #28277 (Also in 11, 13)
  • Fixed crash when calling getBackgroundColor on a transparent window with no assigned background color. #28188 (Also in 11, 13)
  • Fixed intensive I/O from asar files causing ERR_FILE_NOT_FOUND after a while. #28202 (Also in 11, 13)
  • URLS passed to shell.openExternal on windows are now correctly URI encoded. This was already occurring on macOS and Linux. #28341 (Also in 10, 11, 13)

Other Changes

  • Fixed native module compilation with AsyncCleanupHooks on windows. #28109 (Also in 11, 13)
  • Updated Chromium to 89.0.4389.90. #28174

Documentation

  • Documentation changes: #28214