fix: use system proxy for app updates

This commit is contained in:
t8y2 committed 2026-05-26 20:12:41 +08:00
1 parent 32273b4d6e
commit 2038501b53
8 files changed
+222 -6

No files matched your search

+5
View File
@@ -6,3 +6,8 @@ pub async fn check_for_updates() -> Result<UpdateInfo, String> {
let current_version = env!("CARGO_PKG_VERSION");
Ok(dbx_core::update::build_update_info(release, current_version))
}
#[tauri::command]
pub fn get_system_proxy_url() -> Option<String> {
dbx_core::update::system_proxy_url()
}