Add button in settings menu to manually check for updates (#5607)
* Expose an electron handler for checking for updates * Add "Check for updates" button to settings
This commit is contained in:
1
interface.d.ts
vendored
1
interface.d.ts
vendored
@ -88,6 +88,7 @@ export interface IElectronAPI {
|
||||
) => Electron.IpcRenderer
|
||||
onUpdateError: (callback: (value: { error: Error }) => void) => Electron
|
||||
appRestart: () => void
|
||||
appCheckForUpdates: () => Promise<unknown>
|
||||
getArgvParsed: () => any
|
||||
getAppTestProperty: (propertyName: string) => any
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user