diff options
author | 2022-11-06 10:36:51 +0530 | |
---|---|---|
committer | 2022-11-06 05:06:51 +0000 | |
commit | e7dbea5bc6d7e6b121dbc94b21b759a29f16e0c0 (patch) | |
tree | 958d6dad84687352af27c19c50bdcac345bc3a79 /src/electron/ipc-api/index.ts | |
parent | 6.2.1-nightly.39 [skip ci] (diff) | |
download | ferdium-app-e7dbea5bc6d7e6b121dbc94b21b759a29f16e0c0.tar.gz ferdium-app-e7dbea5bc6d7e6b121dbc94b21b759a29f16e0c0.tar.zst ferdium-app-e7dbea5bc6d7e6b121dbc94b21b759a29f16e0c0.zip |
Transform tray & menu files to typescript (#740)
Diffstat (limited to 'src/electron/ipc-api/index.ts')
-rw-r--r-- | src/electron/ipc-api/index.ts | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/electron/ipc-api/index.ts b/src/electron/ipc-api/index.ts index 1a8838c4e..b57a9d881 100644 --- a/src/electron/ipc-api/index.ts +++ b/src/electron/ipc-api/index.ts | |||
@@ -1,4 +1,4 @@ | |||
1 | import { BrowserWindow, Tray } from 'electron'; | 1 | import { BrowserWindow } from 'electron'; |
2 | import autoUpdate from './autoUpdate'; | 2 | import autoUpdate from './autoUpdate'; |
3 | import settings from './settings'; | 3 | import settings from './settings'; |
4 | import sessionStorage from './sessionStorage'; | 4 | import sessionStorage from './sessionStorage'; |
@@ -9,11 +9,12 @@ import localServer from './localServer'; | |||
9 | import languageDetect from './languageDetect'; | 9 | import languageDetect from './languageDetect'; |
10 | import dnd from './dnd'; | 10 | import dnd from './dnd'; |
11 | import focusState from './focusState'; | 11 | import focusState from './focusState'; |
12 | import TrayIcon from '../../lib/Tray'; | ||
12 | 13 | ||
13 | export default (params: { | 14 | export default (params: { |
14 | mainWindow: BrowserWindow; | 15 | mainWindow: BrowserWindow; |
15 | settings: any; | 16 | settings: any; |
16 | trayIcon: Tray; | 17 | trayIcon: TrayIcon; |
17 | }) => { | 18 | }) => { |
18 | settings(params); | 19 | settings(params); |
19 | sessionStorage(); | 20 | sessionStorage(); |