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

9 lines
254 B
TypeScript

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');
}