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