Implement shutdown event for macOS
This commit is contained in:
parent
c470e758cc
commit
983e1b1a70
7 changed files with 25 additions and 6 deletions
|
@ -40,7 +40,7 @@ Emitted when the system changes to AC power.
|
|||
|
||||
Emitted when system changes to battery power.
|
||||
|
||||
### Event: 'shutdown' _Linux_
|
||||
### Event: 'shutdown' _Linux_ _macOS_
|
||||
|
||||
Emitted when the system is about to reboot or shut down. If the event handler
|
||||
invokes `e.preventDefault()`, Electron will attempt to delay system shutdown in
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue