mirror of
https://gitlab.com/vyla-entertainment/go.git
synced 2026-11-14 07:27:23 -05:00
Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 72b752fc02 | |||
| c7463364da |
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "vyla-go",
|
||||
"version": "1.0.12",
|
||||
"version": "1.0.13",
|
||||
"description": "Vyla Go Mobile Launcher",
|
||||
"main": "main.js",
|
||||
"scripts": {
|
||||
|
||||
@@ -411,6 +411,9 @@ async fn download_and_extract_payload(app: tauri::AppHandle, window: WebviewWind
|
||||
.connect_timeout(std::time::Duration::from_secs(15))
|
||||
.timeout(std::time::Duration::from_secs(180))
|
||||
.redirect(reqwest::redirect::Policy::limited(10))
|
||||
.local_address(std::net::IpAddr::V4(std::net::Ipv4Addr::UNSPECIFIED))
|
||||
.http1_only()
|
||||
.pool_max_idle_per_host(0)
|
||||
.build()
|
||||
.map_err(|e| format!("Client error: {}", e))?;
|
||||
|
||||
@@ -460,8 +463,14 @@ async fn download_and_extract_payload(app: tauri::AppHandle, window: WebviewWind
|
||||
}
|
||||
}
|
||||
Err(e) => {
|
||||
android_log(&format!("Release check failed for {}: {}", endpoint, e));
|
||||
last_error = format!("{}", e);
|
||||
let mut detail = format!("{}", e);
|
||||
let mut src = StdError::source(&e);
|
||||
while let Some(s) = src {
|
||||
detail.push_str(&format!(" <- {}", s));
|
||||
src = s.source();
|
||||
}
|
||||
android_log(&format!("Release check failed for {}: {}", endpoint, detail));
|
||||
last_error = detail;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"$schema": "https://schema.tauri.app/config/2",
|
||||
"productName": "Vyla Go",
|
||||
"version": "1.0.12",
|
||||
"version": "1.0.13",
|
||||
"identifier": "com.vyla.go",
|
||||
"build": {
|
||||
"beforeDevCommand": "",
|
||||
|
||||
Reference in New Issue
Block a user