electron-util

Useful utilities for Electron apps and modules

MIT License

Downloads
39.6K
Stars
1.3K
Committers
22

Bot releases are visible (Hide)

electron-util - Latest Release

Published by sindresorhus 8 months ago

electron-util -

Published by sindresorhus 9 months ago

Breaking

  • Require Electron 28 2da8c9e
  • This package is now pure ESM. Please read this and this.
  • Remove use of the Electron remote module (#58) df228ac
    • Because of the removal of remote, this package no longer proxies call between processes for you. So APIs that require to be run in the main process must be called from the main process or you will need to set up IPC channels. APIs that can be called in any process have not moved. To call a main process API, you must use the sub-export /main: import ... from 'electron-util/main'

https://github.com/sindresorhus/electron-util/compare/v0.17.2...v0.18.0

electron-util -

Published by sindresorhus about 3 years ago

electron-util -

Published by sindresorhus about 3 years ago

electron-util -

Published by sindresorhus over 3 years ago

  • Improve the default look of showAboutWindow() on Linux and Windows (#50) d8d21a1

https://github.com/sindresorhus/electron-util/compare/v0.16.0...v0.17.0

electron-util -

Published by sindresorhus over 3 years ago

  • Add support for Windows for .openSystemPreferences() API (#48) 4557c29

https://github.com/sindresorhus/electron-util/compare/v0.15.1...v0.16.0

electron-util -

Published by sindresorhus over 3 years ago

  • Show about window on active window (#47) 628bcd3

https://github.com/sindresorhus/electron-util/compare/v0.15.0...v0.15.1

electron-util -

Published by sindresorhus over 3 years ago

  • Add useFullBounds option for getWindowBoundsCentered() and centerWindow() (#44) 7edb57d

https://github.com/sindresorhus/electron-util/compare/v0.14.2...v0.15.0

electron-util -

Published by sindresorhus over 4 years ago

  • Add some missing types to SystemPreferencesPanes 4a8c15a

https://github.com/sindresorhus/electron-util/compare/v0.14.1...v0.14.2

electron-util -

Published by sindresorhus over 4 years ago

  • Fix enforceMacOSAppLocation crash (#29) fcdd328

https://github.com/sindresorhus/electron-util/compare/v0.14.0...v0.14.1

electron-util -

Published by sindresorhus over 4 years ago

  • enforceMacOSAppLocation: show an error when another version of the app is already running (#26) 6eb9aab

https://github.com/sindresorhus/electron-util/compare/v0.13.1...v0.14.0

electron-util -

Published by sindresorhus almost 5 years ago

  • Add more sections to openSystemPreferences() (#24) 1508c12

https://github.com/sindresorhus/electron-util/compare/v0.13.0...v0.13.1

electron-util -

Published by sindresorhus almost 5 years ago

  • Fix some more Electron 7 deprecations 35a744d
  • Add openSystemPreferences() method (#23) 121f7a9

https://github.com/sindresorhus/electron-util/compare/v0.12.3...v0.13.0

electron-util -

Published by sindresorhus almost 5 years ago

  • Silence deprecation warning in Electron 7 6096e3d

https://github.com/sindresorhus/electron-util/compare/v0.12.2...v0.12.3

electron-util -

Published by sindresorhus about 5 years ago

  • Prevent crash when using the esm package (#21) 90edded

https://github.com/sindresorhus/electron-util/compare/v0.12.1...v0.12.2

electron-util -

Published by sindresorhus over 5 years ago

  • Add website option for .showAboutWindow() on Linux 60974db

https://github.com/sindresorhus/electron-util/compare/v0.12.0...v0.12.1

electron-util -

Published by sindresorhus over 5 years ago

Breaking:

  • Require Electron 5 38b0a52
  • Remove .setWindowBounds() as it's was made moot by Electron 4 (#15) 88ac9fe
    Use browserWindow.setBounds() instead.

Enhancements:

  • Use native Linux implementation in .showAboutWindow() (#16) 9b5158c

https://github.com/sindresorhus/electron-util/compare/v0.11.0...v0.12.0

electron-util -

Published by sindresorhus over 5 years ago

Breaking:

  • Require Electron 4 e2ea4fd
  • openUrlMenuItem(options) and aboutMenuItem now return MenuItem options instead of actual MenuItem's. The previous usage examples only worked because Electron doesn't validate and just blindly copies properties over. Now it returns the correct type to be used in a menu template.

Other;

  • Add TypeScript definition (#11) 78c63f6

https://github.com/sindresorhus/electron-util/compare/v0.10.2...v0.11.0

electron-util -

Published by sindresorhus almost 6 years ago

  • Add .appMenu() method 6c09dc3
  • Add .debugInfo() method 2025b6e
  • Add .showAboutWindow() method 51b6f75
  • Add .aboutMenuItem() method 51b6f75
  • Add .openUrlMenuItem() method 178e8ef
  • Add .openNewGitHubIssue() method ead9373