adding bunch of static stuff really nice

This commit is contained in:
talksik
2022-05-01 12:52:24 -05:00
parent 93b6b9c365
commit 82803a3fa9
5 changed files with 391 additions and 17 deletions
+4 -3
View File
@@ -32,6 +32,7 @@ const createWindow = (): void => {
},
alwaysOnTop: true,
icon: "./assets/1024x1024.icns",
autoHideMenuBar: true,
});
// and load the index.html of the app.
@@ -71,9 +72,9 @@ app
});
})
.then(() => {
globalShortcut.register("`", () => {
console.log("Electron loves global shortcuts!");
});
// globalShortcut.register("`", () => {
// console.log("Electron loves global shortcuts!");
// });
});
// Quit when all windows are closed, except on macOS. There, it's common