version tools (#5407)
* version tools * move bundling tools to `~/.dx/tools`
This commit is contained in:
1 parent
b2d01e6779
commit
7289256b0a
6 files changed
+27
-20
No files matched your search
@@ -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")
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user