Add an update-error
listener
This commit is contained in:
3
interface.d.ts
vendored
3
interface.d.ts
vendored
@ -69,6 +69,9 @@ export interface IElectronAPI {
|
||||
onUpdateDownloaded: (
|
||||
callback: (value: string) => void
|
||||
) => Electron.IpcRenderer
|
||||
onUpdateError: (
|
||||
callback: (value: { error: Error }) => void
|
||||
) => Electron
|
||||
appRestart: () => void
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user