Skip to content
This repository has been archived by the owner on Apr 24, 2021. It is now read-only.

Commit

Permalink
CTRL+SHIFT+I & F12 for dev console
Browse files Browse the repository at this point in the history
  • Loading branch information
DonovanDMC committed Jan 4, 2021
1 parent 8977188 commit 65491cb
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/assets/js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -281,3 +281,8 @@ function showNotification(title, body, url) {
shell.openExternal(url);
});
}

// CTRL+SHIFT+I & F12 for dev console
document.addEventListener("keydown", (ev) => {
if ((ev.ctrlKey && ev.shiftKey && ev.code === "KeyI") || ev.code === "F12") ipcRenderer.send("open-dev-tools");
});

0 comments on commit 65491cb

Please sign in to comment.