mirror of
https://github.com/bitwarden/browser
synced 2025-12-15 07:43:35 +00:00
30
src/main.ts
30
src/main.ts
@@ -44,23 +44,25 @@ export class Main {
|
||||
}
|
||||
|
||||
app.on('ready', () => {
|
||||
globalShortcut.register('CommandOrControl+Shift+L', async () => {
|
||||
if (this.windowMain.win === null) {
|
||||
await this.windowMain.createWindow();
|
||||
}
|
||||
/*
|
||||
globalShortcut.register('CommandOrControl+Shift+L', async () => {
|
||||
if (this.windowMain.win === null) {
|
||||
await this.windowMain.createWindow();
|
||||
}
|
||||
|
||||
this.messagingService.send('focusSearch');
|
||||
this.windowMain.win.show();
|
||||
});
|
||||
this.messagingService.send('focusSearch');
|
||||
this.windowMain.win.show();
|
||||
});
|
||||
*/
|
||||
|
||||
globalShortcut.register('CommandOrControl+Shift+G', async () => {
|
||||
if (this.windowMain.win === null) {
|
||||
await this.windowMain.createWindow();
|
||||
}
|
||||
globalShortcut.register('CommandOrControl+Shift+G', async () => {
|
||||
if (this.windowMain.win === null) {
|
||||
await this.windowMain.createWindow();
|
||||
}
|
||||
|
||||
this.messagingService.send('openPasswordGenerator');
|
||||
this.windowMain.win.show();
|
||||
});
|
||||
this.messagingService.send('openPasswordGenerator');
|
||||
this.windowMain.win.show();
|
||||
});
|
||||
});
|
||||
|
||||
if (appDataPath != null) {
|
||||
|
||||
Reference in New Issue
Block a user