Open on1force opened 1 month ago
I don't really know if this is on Plugin side or the external crate it self.. the culprit is
#[cfg(any(windows, feature = "fetch-latest"))] { let baseurl = "http://download.libsodium.org/libsodium/releases"; let agent = ureq::AgentBuilder::new() .try_proxy_from_env(true) .timeout(std::time::Duration::from_secs(300)) .build(); let response = agent.get(&format!("{}/{}", baseurl, filename)).call(); response .unwrap() .into_reader() .read_to_end(&mut archive_bin) .unwrap(); // <= this one File::create(&filename) .unwrap() .write_all(&archive_bin) .unwrap(); let response = agent .get(&format!("{}/{}", baseurl, signature_filename)) .call(); let mut signature_bin = vec![]; response .unwrap() .into_reader() .read_to_end(&mut signature_bin) .unwrap(); File::create(&signature_filename) .unwrap() .write_all(&signature_bin) .unwrap(); }
I just follow the plugin docs and got that error..
Can you share the full error you're seeing? Please also share the output of the tauri info command?
tauri info
Could this be an issue with your system proxy (if any)?
I don't really know if this is on Plugin side or the external crate it self.. the culprit is
I just follow the plugin docs and got that error..