diff options
author | 2021-09-18 11:15:25 +0200 | |
---|---|---|
committer | 2021-09-18 11:15:25 +0200 | |
commit | d4101a48b3eee8b1fb177831aa02a4b4fbec2588 (patch) | |
tree | c92f2fbe91197fde8589207463d0d6526b4ff76b /src/features/basicAuth/mainIpcHandler.ts | |
parent | 5.6.3-nightly.6 [skip ci] (diff) | |
download | ferdium-app-d4101a48b3eee8b1fb177831aa02a4b4fbec2588.tar.gz ferdium-app-d4101a48b3eee8b1fb177831aa02a4b4fbec2588.tar.zst ferdium-app-d4101a48b3eee8b1fb177831aa02a4b4fbec2588.zip |
chore: convert various files from JS to TS (#1959)
Diffstat (limited to 'src/features/basicAuth/mainIpcHandler.ts')
-rw-r--r-- | src/features/basicAuth/mainIpcHandler.ts | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/features/basicAuth/mainIpcHandler.ts b/src/features/basicAuth/mainIpcHandler.ts new file mode 100644 index 000000000..4ec3848e8 --- /dev/null +++ b/src/features/basicAuth/mainIpcHandler.ts | |||
@@ -0,0 +1,11 @@ | |||
1 | import { BrowserWindow } from 'electron'; | ||
2 | |||
3 | const debug = require('debug')('Ferdi:feature:basicAuth:main'); | ||
4 | |||
5 | export default function mainIpcHandler(mainWindow: BrowserWindow, authInfo) { | ||
6 | debug('Sending basic auth call', authInfo); | ||
7 | |||
8 | mainWindow.webContents.send('feature:basic-auth', { | ||
9 | authInfo, | ||
10 | }); | ||
11 | } | ||