Use data dir instead of home dir for dioxus-related data (#4445)
* Use data dir instead of home dir for dioxus-related data * merge dx dir * make windows match the pshell --------- Co-authored-by: Jonathan Kelley <jkelleyrtp@gmail.com>
This commit is contained in:
1 parent
58c41f8561
commit
89834bc1b3
6 files changed
+33
-8
No files matched your search
@@ -243,7 +243,7 @@ pub fn installed_location() -> Option<PathBuf> {
|
||||
}
|
||||
|
||||
fn install_dir() -> PathBuf {
|
||||
Workspace::dioxus_home_dir().join("binaryen")
|
||||
Workspace::dioxus_data_dir().join("binaryen")
|
||||
}
|
||||
|
||||
fn installed_bin_name() -> &'static str {
|
||||
|
||||
Reference in new issue
Block a user