We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e6dc79e commit f97ca23Copy full SHA for f97ca23
main.js
@@ -41,9 +41,12 @@ const AppWindows = {
41
this.mainWindow.reload();
42
});
43
44
- localShortcut.register(windowToRegister, 'CommandOrControl+Shift+I', () => {
45
- this.mainWindow.toggleDevTools();
46
- });
+ // Development only shortcut
+ if (process.env.NODE_ENV === 'development') {
+ localShortcut.register(windowToRegister, 'CommandOrControl+Shift+I', () => {
47
+ this.mainWindow.toggleDevTools();
48
+ });
49
+ }
50
},
51
52
bindEventListener: function bindEventListener() {
0 commit comments