From a3da2245117a87561b258529fde730de805efa26 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Fri, 18 Jul 2025 23:27:48 +0700 Subject: [PATCH] Possible fix for error getting current version in launcher https://forums.ankiweb.net/t/anki-25-08-beta/63645/68 --- qt/launcher/src/main.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/qt/launcher/src/main.rs b/qt/launcher/src/main.rs index e1529f794..903cc2b60 100644 --- a/qt/launcher/src/main.rs +++ b/qt/launcher/src/main.rs @@ -198,6 +198,7 @@ fn extract_aqt_version( ) -> Option { let output = Command::new(uv_path) .current_dir(uv_install_root) + .env("VIRTUAL_ENV", uv_install_root.join(".venv")) .args(["pip", "show", "aqt"]) .output() .ok()?;