mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 14:02:21 -04:00
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:
parent
63ddd0e183
commit
a3da224511
1 changed files with 1 additions and 0 deletions
|
@ -198,6 +198,7 @@ fn extract_aqt_version(
|
||||||
) -> Option<String> {
|
) -> Option<String> {
|
||||||
let output = Command::new(uv_path)
|
let output = Command::new(uv_path)
|
||||||
.current_dir(uv_install_root)
|
.current_dir(uv_install_root)
|
||||||
|
.env("VIRTUAL_ENV", uv_install_root.join(".venv"))
|
||||||
.args(["pip", "show", "aqt"])
|
.args(["pip", "show", "aqt"])
|
||||||
.output()
|
.output()
|
||||||
.ok()?;
|
.ok()?;
|
||||||
|
|
Loading…
Reference in a new issue