File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ const dialog = electron.dialog
4
4
const globalShortcut = electron . globalShortcut
5
5
6
6
app . on ( 'ready' , function ( ) {
7
- globalShortcut . register ( 'CommandOrControl+Alt+D ' , function ( ) {
7
+ globalShortcut . register ( 'CommandOrControl+Alt+K ' , function ( ) {
8
8
dialog . showMessageBox ( {
9
9
type : 'info' ,
10
10
message : 'Success! You pressed the registered global shortcut keybinding.' ,
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ <h3>The <code>globalShortcut</code> and <code>Menu</code> modules can be used to
35
35
</ button >
36
36
< div class ="demo-box ">
37
37
< p >
38
- To try this demo, press < kbd class ="normalize-to-platform "> CommandOrControl+Alt+D </ kbd > on your keyboard.
38
+ To try this demo, press < kbd class ="normalize-to-platform "> CommandOrControl+Alt+K </ kbd > on your keyboard.
39
39
</ p >
40
40
41
41
< p >
You can’t perform that action at this time.
0 commit comments