asticode / go-astilectron

Build cross platform GUI apps with GO and HTML/JS/CSS (powered by Electron)
MIT License
4.9k stars 344 forks source link

Add powerMonitor events #364

Closed maddie closed 2 years ago

maddie commented 2 years ago

The powerMonitor events are attached to the *astilectron.Astilectron instance (added a receiver function OnPowerEvent).

Fixes #359

maddie commented 2 years ago

Tested OK locally with changes in asticode/astilectron#56

asticode commented 2 years ago

I've made a v0.28.0 tag