mirror of
https://github.com/ankitects/anki.git
synced 2025-11-06 12:47:11 -05:00
add libpython_path
This commit is contained in:
parent
9d0ae31780
commit
f2c2d6d93a
1 changed files with 2 additions and 0 deletions
|
|
@ -53,6 +53,7 @@ struct State {
|
||||||
previous_version: Option<String>,
|
previous_version: Option<String>,
|
||||||
resources_dir: std::path::PathBuf,
|
resources_dir: std::path::PathBuf,
|
||||||
venv_folder: std::path::PathBuf,
|
venv_folder: std::path::PathBuf,
|
||||||
|
libpython_path: std::path::PathBuf,
|
||||||
/// system Python + PyQt6 library mode
|
/// system Python + PyQt6 library mode
|
||||||
system_qt: bool,
|
system_qt: bool,
|
||||||
}
|
}
|
||||||
|
|
@ -132,6 +133,7 @@ fn run() -> Result<()> {
|
||||||
&& resources_dir.join("system_qt").exists(),
|
&& resources_dir.join("system_qt").exists(),
|
||||||
resources_dir,
|
resources_dir,
|
||||||
venv_folder: uv_install_root.join(".venv"),
|
venv_folder: uv_install_root.join(".venv"),
|
||||||
|
libpython_path: uv_install_root.join("libpath"),
|
||||||
};
|
};
|
||||||
|
|
||||||
// Check for uninstall request from Windows uninstaller
|
// Check for uninstall request from Windows uninstaller
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue