Update
Defined in: plugins/updater/guest-js/index.ts:58
Resource
new Update(
metadata
):Update
Defined in: plugins/updater/guest-js/index.ts:69
UpdateMetadata
Update
Resource.constructor
available:
boolean
Defined in: plugins/updater/guest-js/index.ts:61
optional
body:string
Defined in: plugins/updater/guest-js/index.ts:65
currentVersion:
string
Defined in: plugins/updater/guest-js/index.ts:62
optional
date:string
Defined in: plugins/updater/guest-js/index.ts:64
rawJson:
Record
<string
,unknown
>
Defined in: plugins/updater/guest-js/index.ts:66
version:
string
Defined in: plugins/updater/guest-js/index.ts:63
get rid():
number
Defined in: node_modules/.pnpm/@tauri-apps+api@2.7.0/node_modules/@tauri-apps/api/core.d.ts:183
number
Resource.rid
close():
Promise
<void
>
Defined in: plugins/updater/guest-js/index.ts:129
Destroys and cleans up this resource from memory. You should not call any method on this object anymore and should drop any reference to it.
Promise
<void
>
Resource.close
download(
onEvent?
,options?
):Promise
<void
>
Defined in: plugins/updater/guest-js/index.ts:80
Download the updater package
(progress
) => void
Promise
<void
>
downloadAndInstall(
onEvent?
,options?
):Promise
<void
>
Defined in: plugins/updater/guest-js/index.ts:113
Downloads the updater package and installs it
(progress
) => void
Promise
<void
>
install():
Promise
<void
>
Defined in: plugins/updater/guest-js/index.ts:98
Install downloaded updater package
Promise
<void
>
© 2025 Tauri Contributors. CC-BY / MIT