aboutsummaryrefslogtreecommitdiffstats
path: root/src/index.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/index.ts')
-rw-r--r--src/index.ts8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/index.ts b/src/index.ts
index 4b3c81faa..affbcd64a 100644
--- a/src/index.ts
+++ b/src/index.ts
@@ -631,9 +631,11 @@ ipcMain.on('set-spellchecker-locales', (_e, { locale, serviceId }) => {
631 serviceSession.setSpellCheckerLanguages(locales); 631 serviceSession.setSpellCheckerLanguages(locales);
632}); 632});
633 633
634ipcMain.handle('get-desktop-capturer-sources', () => desktopCapturer.getSources({ 634ipcMain.handle('get-desktop-capturer-sources', () =>
635 types: ['screen', 'window'], 635 desktopCapturer.getSources({
636})); 636 types: ['screen', 'window'],
637 }),
638);
637 639
638ipcMain.on('window.toolbar-double-clicked', () => { 640ipcMain.on('window.toolbar-double-clicked', () => {
639 mainWindow?.isMaximized() ? mainWindow.unmaximize() : mainWindow?.maximize(); 641 mainWindow?.isMaximized() ? mainWindow.unmaximize() : mainWindow?.maximize();