diff options
| author | Oskar Nyberg <oskar@mullvad.net> | 2020-12-09 16:31:50 +0100 |
|---|---|---|
| committer | Oskar Nyberg <oskar@mullvad.net> | 2020-12-10 11:30:31 +0100 |
| commit | 6a8cf020b3a561b28773831fc2cef4066d445884 (patch) | |
| tree | 98b494619e4ddde3949011f06082ef48e493b04b /gui/src/shared | |
| parent | ae3cae40c16b01683b2a562ac48799699c711ca2 (diff) | |
| download | mullvadvpn-6a8cf020b3a561b28773831fc2cef4066d445884.tar.xz mullvadvpn-6a8cf020b3a561b28773831fc2cef4066d445884.zip | |
Move problem report ipc calls to ipc-event-channel
Diffstat (limited to 'gui/src/shared')
| -rw-r--r-- | gui/src/shared/ipc-event-channel.ts | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gui/src/shared/ipc-event-channel.ts b/gui/src/shared/ipc-event-channel.ts index 11bbeef31f..b18e47e9f9 100644 --- a/gui/src/shared/ipc-event-channel.ts +++ b/gui/src/shared/ipc-event-channel.ts @@ -172,6 +172,10 @@ const ipc = { getApplications: invoke<void, ISplitTunnelingApplication[]>(), launchApplication: invoke<ISplitTunnelingApplication | string, void>(), }, + problemReport: { + collectLogs: invoke<string[], string>(), + sendReport: invoke<{ email: string; message: string; savedReport: string }, void>(), + }, }; export const IpcMainEventChannel = createIpcMain(ipc); |
