signal-desktop/ts/shims/updateIpc.ts
automated-signal 9914fefe1c
Show update UI on backup version mismatch
Co-authored-by: Fedor Indutny <79877362+indutny-signal@users.noreply.github.com>
2024-11-13 09:33:01 -08:00

12 lines
321 B
TypeScript

// Copyright 2020 Signal Messenger, LLC
// SPDX-License-Identifier: AGPL-3.0-only
import { ipcRenderer } from 'electron';
export function startUpdate(): Promise<void> {
return ipcRenderer.invoke('start-update');
}
export function forceUpdate(): Promise<void> {
return ipcRenderer.invoke('updater/force-update');
}