signal-desktop/ts/shims/bounceAppIcon.ts
2020-11-04 13:03:13 -06:00

12 lines
337 B
TypeScript

// Copyright 2020 Signal Messenger, LLC
// SPDX-License-Identifier: AGPL-3.0-only
import { ipcRenderer } from 'electron';
export function bounceAppIconStart(isCritical = false): void {
ipcRenderer.send('bounce-app-icon-start', isCritical);
}
export function bounceAppIconStop(): void {
ipcRenderer.send('bounce-app-icon-stop');
}