fix: use system proxy for app updates
This commit is contained in:
1 parent
32273b4d6e
commit
2038501b53
8 files changed
+222
-6
No files matched your search
@@ -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()
|
||||
}
|
||||
Reference in new issue
Block a user