fix(desktop): avoid relaunching without installing updates (#23806)
This commit is contained in:
parent
3bfe6a1ef6
commit
2e156b8990
7 changed files with 34 additions and 19 deletions
|
|
@ -49,11 +49,11 @@ export type Platform = {
|
|||
/** Storage mechanism, defaults to localStorage */
|
||||
storage?: (name?: string) => SyncStorage | AsyncStorage
|
||||
|
||||
/** Check for updates (Tauri only) */
|
||||
/** Check for a downloadable desktop update */
|
||||
checkUpdate?(): Promise<UpdateInfo>
|
||||
|
||||
/** Install updates (Tauri only) */
|
||||
update?(): Promise<void>
|
||||
/** Install the downloaded update using the platform restart flow */
|
||||
updateAndRestart?(): Promise<void>
|
||||
|
||||
/** Fetch override */
|
||||
fetch?: typeof fetch
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue