blob: 5d320df5c39ccfec16a769d61dec0cea7ac5b533 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
import { BrowserWindow } from 'electron';
const debug = require('../../preload-safe-debug')('Ferdium:feature:basicAuth:main');
export default function mainIpcHandler(mainWindow: BrowserWindow, authInfo) {
debug('Sending basic auth call', authInfo);
mainWindow.webContents.send('feature:basic-auth', {
authInfo,
});
}
|