@tauri-apps/plugin-updater
이 콘텐츠는 아직 번역되지 않았습니다.
Classes
Section titled “Classes”Update
Section titled “Update”Extends
Section titled “Extends”Resource
Constructors
Section titled “Constructors”new Update()
Section titled “new Update()”new Update(metadata): UpdateParameters
Section titled “Parameters”| Parameter | Type |
|---|---|
metadata | UpdateMetadata |
Returns
Section titled “Returns”Overrides
Section titled “Overrides”Resource.constructor
Source: https://github.com/tauri-apps/plugins-workspace/blob/v2/plugins/updater/guest-js/index.ts#L69
Properties
Section titled “Properties”| Property | Type | Description | Defined in |
|---|---|---|---|
available | boolean | Deprecated This is always true, check if the return value is null instead when using check | Source: https://github.com/tauri-apps/plugins-workspace/blob/v2/plugins/updater/guest-js/index.ts#L61 |
body? | string | - | Source: https://github.com/tauri-apps/plugins-workspace/blob/v2/plugins/updater/guest-js/index.ts#L65 |
currentVersion | string | - | Source: https://github.com/tauri-apps/plugins-workspace/blob/v2/plugins/updater/guest-js/index.ts#L62 |
date? | string | - | Source: https://github.com/tauri-apps/plugins-workspace/blob/v2/plugins/updater/guest-js/index.ts#L64 |
rawJson | Record<string, unknown> | - | Source: https://github.com/tauri-apps/plugins-workspace/blob/v2/plugins/updater/guest-js/index.ts#L66 |
version | string | - | Source: https://github.com/tauri-apps/plugins-workspace/blob/v2/plugins/updater/guest-js/index.ts#L63 |
Accessors
Section titled “Accessors”get rid(): numberReturns
Section titled “Returns”number
Inherited from
Section titled “Inherited from”Resource.rid
Source: undefined
Methods
Section titled “Methods”close()
Section titled “close()”close(): Promise<void>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.
Returns
Section titled “Returns”Promise<void>
Overrides
Section titled “Overrides”Resource.close
Source: https://github.com/tauri-apps/plugins-workspace/blob/v2/plugins/updater/guest-js/index.ts#L129
download()
Section titled “download()”download(onEvent?, options?): Promise<void>Download the updater package
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
onEvent? | (progress) => void |
options? | DownloadOptions |
Returns
Section titled “Returns”Promise<void>
Source: https://github.com/tauri-apps/plugins-workspace/blob/v2/plugins/updater/guest-js/index.ts#L80
downloadAndInstall()
Section titled “downloadAndInstall()”downloadAndInstall(onEvent?, options?): Promise<void>Downloads the updater package and installs it
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
onEvent? | (progress) => void |
options? | DownloadOptions |
Returns
Section titled “Returns”Promise<void>
Source: https://github.com/tauri-apps/plugins-workspace/blob/v2/plugins/updater/guest-js/index.ts#L113
install()
Section titled “install()”install(): Promise<void>Install downloaded updater package
Returns
Section titled “Returns”Promise<void>
Source: https://github.com/tauri-apps/plugins-workspace/blob/v2/plugins/updater/guest-js/index.ts#L98
Interfaces
Section titled “Interfaces”CheckOptions
Section titled “CheckOptions”Options used when checking for updates
Properties
Section titled “Properties”| Property | Type | Description | Defined in |
|---|---|---|---|
allowDowngrades? | boolean | Allow downgrades to previous versions by not checking if the current version is greater than the available version. | Source: https://github.com/tauri-apps/plugins-workspace/blob/v2/plugins/updater/guest-js/index.ts#L28 |
headers? | HeadersInit | Request headers | Source: https://github.com/tauri-apps/plugins-workspace/blob/v2/plugins/updater/guest-js/index.ts#L12 |
proxy? | string | A proxy url to be used when checking and downloading updates. | Source: https://github.com/tauri-apps/plugins-workspace/blob/v2/plugins/updater/guest-js/index.ts#L20 |
target? | string | Target identifier for the running application. This is sent to the backend. | Source: https://github.com/tauri-apps/plugins-workspace/blob/v2/plugins/updater/guest-js/index.ts#L24 |
timeout? | number | Timeout in milliseconds | Source: https://github.com/tauri-apps/plugins-workspace/blob/v2/plugins/updater/guest-js/index.ts#L16 |
DownloadOptions
Section titled “DownloadOptions”Options used when downloading an update
Properties
Section titled “Properties”| Property | Type | Description | Defined in |
|---|---|---|---|
headers? | HeadersInit | Request headers | Source: https://github.com/tauri-apps/plugins-workspace/blob/v2/plugins/updater/guest-js/index.ts#L36 |
timeout? | number | Timeout in milliseconds | Source: https://github.com/tauri-apps/plugins-workspace/blob/v2/plugins/updater/guest-js/index.ts#L40 |
Type Aliases
Section titled “Type Aliases”DownloadEvent
Section titled “DownloadEvent”type DownloadEvent: object | object | object;Updater download event
Source: https://github.com/tauri-apps/plugins-workspace/blob/v2/plugins/updater/guest-js/index.ts#L53
Functions
Section titled “Functions”check()
Section titled “check()”function check(options?): Promise<Update | null>Check for updates, resolves to null if no updates are available
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
options? | CheckOptions |
Returns
Section titled “Returns”Source: https://github.com/tauri-apps/plugins-workspace/blob/v2/plugins/updater/guest-js/index.ts#L136
© 2026 Tauri Contributors. CC-BY / MIT