Customize the auto updater flow.
This package is also accessible with window.__TAURI__.updater
when tauri.conf.json > build > withGlobalTauri
is set to true.
#
Interfaces#
Type aliases#
UpdateStatusƬ UpdateStatus: "PENDING"
| "ERROR"
| "DONE"
| "UPTODATE"
#
Defined in#
Functions#
checkUpdate▸ checkUpdate(): Promise
<UpdateResult
>
Checks if an update is available.
#
ReturnsPromise
<UpdateResult
>
Promise resolving to the update status.
#
Defined in#
installUpdate▸ installUpdate(): Promise
<void
>
Install the update if there's one available.
#
ReturnsPromise
<void
>
A promise indicating the success or failure of the operation.