version tools (#5407)

* version tools

* move bundling tools to `~/.dx/tools`
This commit is contained in:
Jonathan Kelley authored and GitHub committed 2026-03-23 17:18:57 -07:00
1 parent b2d01e6779
commit 7289256b0a
6 files changed
+27 -20

No files matched your search

+7
View File
@@ -613,6 +613,13 @@ impl Workspace {
.to_path_buf()
}
/// The directory where managed tool binaries are installed.
///
/// Layout: `~/.dx/tools/{tool-name}-{version}/`
pub(crate) fn tools_dir() -> PathBuf {
Self::dioxus_data_dir().join("tools")
}
pub(crate) fn global_settings_file() -> PathBuf {
Self::dioxus_data_dir().join("settings.toml")
}