2020-10-30 20:34:04 +00:00
|
|
|
// Copyright 2020 Signal Messenger, LLC
|
|
|
|
// SPDX-License-Identifier: AGPL-3.0-only
|
|
|
|
|
2020-02-12 21:30:58 +00:00
|
|
|
import { ipcRenderer } from 'electron';
|
|
|
|
|
2020-09-16 19:31:05 +00:00
|
|
|
export function startUpdate(): void {
|
2020-02-12 21:30:58 +00:00
|
|
|
ipcRenderer.send('start-update');
|
|
|
|
}
|
|
|
|
|
2020-09-16 19:31:05 +00:00
|
|
|
export function ackRender(): void {
|
2020-02-12 21:30:58 +00:00
|
|
|
ipcRenderer.send('show-update-dialog-ack');
|
|
|
|
}
|