fix: throw when using globalShortcut before ready (#27002)
This commit is contained in:
parent
ef49fea5eb
commit
833baa4c54
2 changed files with 22 additions and 1 deletions
|
@ -9,7 +9,7 @@ with the operating system so that you can customize the operations for various
|
|||
shortcuts.
|
||||
|
||||
**Note:** The shortcut is global; it will work even if the app does
|
||||
not have the keyboard focus. You should not use this module until the `ready`
|
||||
not have the keyboard focus. This module cannot be used before the `ready`
|
||||
event of the app module is emitted.
|
||||
|
||||
```javascript
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue