Skip to content

Instantly share code, notes, and snippets.

@importre
Created May 16, 2015 11:49
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save importre/2a289229d424d797acde to your computer and use it in GitHub Desktop.
Save importre/2a289229d424d797acde to your computer and use it in GitHub Desktop.
[electron] dev tools
app.on('ready', function () {
var globalShortcut = require('global-shortcut');
globalShortcut.register('Alt+Command+I', function() {
mainWindow.toggleDevTools();
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment