mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-27 12:36:14 +01:00
parent
39178bd05d
commit
e8c03e30ba
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) {
|
||||
|
Loading…
Reference in New Issue
Block a user