mirror of
https://github.com/electron/electron.git
synced 2026-01-08 23:18:06 -05:00
fix: throw when using globalShortcut before ready (#27002)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user