mirror of
https://github.com/tauri-apps/plugins-workspace.git
synced 2026-07-30 17:48:50 +02:00
feat(updater) support proxy (#891)
* add proxy support Signed-off-by: San Zhang <sanzhang@mail.com> * 1. change string to url for proxy type 2. add proxy option in js api Signed-off-by: San Zhang <sanzhang@mail.com> * fix fmt issue Signed-off-by: San Zhang <sanzhang@mail.com> * Update plugins/updater/guest-js/index.ts --------- Signed-off-by: San Zhang <sanzhang@mail.com>
This commit is contained in:
@@ -14,6 +14,10 @@ interface CheckOptions {
|
||||
* Timeout in seconds
|
||||
*/
|
||||
timeout?: number;
|
||||
/**
|
||||
* A proxy url to be used when checking and downloading updates.
|
||||
*/
|
||||
proxy?: string;
|
||||
/**
|
||||
* Target identifier for the running application. This is sent to the backend.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user