Browse Source

feat: enable socks-proxy for bundler download (#8596) (#8611)

* feat: enable socks-proxy for bundler download

* change file

Co-authored-by: Lai Zn <laizenan@gmail.com>
Amr Bashir 1 năm trước cách đây
mục cha
commit
06890c70c6
2 tập tin đã thay đổi với 6 bổ sung1 xóa
  1. 5 0
      .changes/bundler-socks-proxy.md
  2. 1 1
      tooling/bundler/Cargo.toml

+ 5 - 0
.changes/bundler-socks-proxy.md

@@ -0,0 +1,5 @@
+---
+"tauri-bundler": patch:enhance
+---
+
+Support using socks proxy from environment when downloading files. 

+ 1 - 1
tooling/bundler/Cargo.toml

@@ -32,7 +32,7 @@ tempfile = "3.8.1"
 log = { version = "0.4.20", features = [ "kv_unstable" ] }
 dirs-next = "2.0"
 os_pipe = "1"
-ureq = { version = "2.9.1", default-features = false }
+ureq = { version = "2.9.1", default-features = false, features = [ "socks-proxy" ] }
 native-tls = { version = "0.2", optional = true }
 hex = "0.4"
 semver = "1"