signal-desktop/ts/shims/updateIpc.ts

10 lines
202 B
TypeScript
Raw Normal View History

import { ipcRenderer } from 'electron';
2020-09-16 19:31:05 +00:00
export function startUpdate(): void {
ipcRenderer.send('start-update');
}
2020-09-16 19:31:05 +00:00
export function ackRender(): void {
ipcRenderer.send('show-update-dialog-ack');
}