added permissions for website

This commit is contained in:
2024-11-04 11:55:14 -05:00
parent 5c845ffe61
commit 014e4c8b7b
19 changed files with 507 additions and 71 deletions
+1
View File
@@ -15,6 +15,7 @@ export default async function setUpShortcuts(uid) {
// getCurrentWindow().isFocused() ? getCurrentTab()?.toggleDevTools() : null
});
globalShortcut.register('Control+H', () => getCurrentTab()?.webContents.executeJavaScript('window.electronAPI.displayHistory()'));
globalShortcut.register('Control+P', () => getCurrentTab()?.webContents.print());
// zoom
globalShortcut.register('Control+=', () => changeZoom(getCurrentTab(), true));