aboutsummaryrefslogtreecommitdiffstats
path: root/src/index.ts
diff options
context:
space:
mode:
authorLibravatar André Oliveira <oliveira.andrerodrigues95@gmail.com>2022-07-13 11:03:00 +0100
committerLibravatar Vijay Aravamudhan <vraravam@users.noreply.github.com>2022-07-13 18:56:19 +0530
commit8885fc7c95581b023f1c9db4b53d96f0cf708d05 (patch)
treee05eae191f9db8542a2f49e1190809e9f8950b43 /src/index.ts
parentUpdate submodules [skip ci] (diff)
downloadferdium-app-8885fc7c95581b023f1c9db4b53d96f0cf708d05.tar.gz
ferdium-app-8885fc7c95581b023f1c9db4b53d96f0cf708d05.tar.zst
ferdium-app-8885fc7c95581b023f1c9db4b53d96f0cf708d05.zip
fix: use global crowdin link and lint fixes
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();