signal-desktop/ts/shims/updateIpc.ts
2020-09-21 15:42:51 -04:00

9 lines
202 B
TypeScript

import { ipcRenderer } from 'electron';
export function startUpdate(): void {
ipcRenderer.send('start-update');
}
export function ackRender(): void {
ipcRenderer.send('show-update-dialog-ack');
}