electron-debug
Advanced tools
Comparing version 0.1.0 to 0.1.1
@@ -5,6 +5,7 @@ 'use strict'; | ||
const BrowserWindow = require('browser-window'); | ||
const isOSX = process.platform === 'darwin'; | ||
module.exports = function () { | ||
app.on('ready', function () { | ||
globalShortcut.register('Alt+CmdOrCtrl+I', function () { | ||
globalShortcut.register(isOSX ? 'Cmd+Alt+I' : 'Ctrl+Shift+I', function () { | ||
var win = BrowserWindow.getFocusedWindow(); | ||
@@ -11,0 +12,0 @@ |
{ | ||
"name": "electron-debug", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"description": "Adds useful debug features to your Electron app", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
@@ -14,5 +14,5 @@ # electron-debug | ||
- OS X: `Alt+Cmd+I` | ||
- Linux: `Alt+Ctrl+I` | ||
- Windows: `Alt+Ctrl+I` | ||
- OS X: `Cmd+Alt+I` | ||
- Linux: `Ctrl+Shift+I` | ||
- Windows: `Ctrl+Shift+I` | ||
@@ -19,0 +19,0 @@ ### Reload |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2836
21