mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 14:02:21 -04:00
Increase default network timeout in launcher
https://forums.ankiweb.net/t/the-desktop-anki-app-cant-launch/64425/4
This commit is contained in:
parent
00bc0354c9
commit
c74a97a5fa
1 changed files with 4 additions and 0 deletions
|
@ -292,6 +292,10 @@ fn handle_version_install_or_update(state: &State, choice: MainMenuChoice) -> Re
|
||||||
command
|
command
|
||||||
.env("UV_CACHE_DIR", &state.uv_cache_dir)
|
.env("UV_CACHE_DIR", &state.uv_cache_dir)
|
||||||
.env("UV_PYTHON_INSTALL_DIR", &state.uv_python_install_dir)
|
.env("UV_PYTHON_INSTALL_DIR", &state.uv_python_install_dir)
|
||||||
|
.env(
|
||||||
|
"UV_HTTP_TIMEOUT",
|
||||||
|
std::env::var("UV_HTTP_TIMEOUT").unwrap_or_else(|_| "180".to_string()),
|
||||||
|
)
|
||||||
.args(["sync", "--upgrade", "--managed-python", "--no-config"]);
|
.args(["sync", "--upgrade", "--managed-python", "--no-config"]);
|
||||||
|
|
||||||
// Add python version if .python-version file exists
|
// Add python version if .python-version file exists
|
||||||
|
|
Loading…
Reference in a new issue