adding-io-hook

This commit is contained in:
talksik
2022-04-24 08:34:10 -05:00
parent 0b04528842
commit 3666ce59d4
4 changed files with 100 additions and 7 deletions
+6 -2
View File
@@ -70,8 +70,12 @@ app
});
})
.then(() => {
globalShortcut.register("`", () => {
console.log("Electron loves global shortcuts!");
globalShortcut.register("`+R", () => {
console.log("Recording audio!");
});
globalShortcut.register("`+P", () => {
console.log("Recording audio!");
});
});