You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

15 lines
493 B

import { UpdateInfo } from "electron-updater"
export interface UpdaterCommand {
checkForUpdates: () => void
}
export type EventMaps = {
"update-progress": (data: { speed: number; percent: number; all: number; now: number }) => void
error: (err: any) => void
"updater:error": (info: UpdateInfo) => void
"checking-for-update": () => void
"update-available": (info: UpdateInfo) => void
"update-not-available": (info: UpdateInfo) => void
"updater:downloaded": (p: any) => void
}