Possible fix for error getting current version in launcher

https://forums.ankiweb.net/t/anki-25-08-beta/63645/68
This commit is contained in:
Damien Elmes 2025-07-18 23:27:48 +07:00
parent 63ddd0e183
commit a3da224511

View file

@ -198,6 +198,7 @@ fn extract_aqt_version(
) -> Option<String> {
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()?;