-
Notifications
You must be signed in to change notification settings - Fork 295
/
index.js
43 lines (42 loc) · 1.77 KB
/
index.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
// @flow
import type { BrowserWindow } from 'electron';
import compressLogsApi from './compress-logs';
import downloadLogsApi from './download-logs';
import { handleElectronStoreChannel } from './electronStoreConversation';
import getLogsApi from './get-logs';
import resizeWindowApi from './resize-window';
import loadAsset from './load-asset';
import getGpuStatus from './get-gpu-status';
import { downloadManagerChannel } from './downloadManagerChannel';
import getRecoveryWalletIdChannel from './getRecoveryWalletIdChannel';
import { handleBugReportRequests } from './bugReportRequestChannel';
import { handleFileMetaRequests } from './generateFileMetaChannel';
import { handlePaperWalletRequests } from './generatePaperWalletChannel';
import { handleAddressPDFRequests } from './generateAddressPDFChannel';
import { handleRewardsCsvRequests } from './generateRewardsCsvChannel';
import { handleFileDialogRequests } from './show-file-dialog-channels';
import { handleAddressIntrospectionRequests } from './introspect-address';
import { openExternalUrlChannel } from './open-external-url';
import { openLocalDirectoryChannel } from './open-local-directory';
export default (window: BrowserWindow) => {
compressLogsApi();
downloadLogsApi();
getLogsApi();
resizeWindowApi(window);
loadAsset();
getGpuStatus();
handleBugReportRequests();
handleFileMetaRequests();
handlePaperWalletRequests();
handleAddressPDFRequests();
handleRewardsCsvRequests();
handleFileDialogRequests(window);
handleAddressIntrospectionRequests();
// eslint-disable-next-line no-unused-expressions
openExternalUrlChannel;
// eslint-disable-next-line no-unused-expressions
openLocalDirectoryChannel;
downloadManagerChannel(window);
getRecoveryWalletIdChannel();
handleElectronStoreChannel();
};