We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9a34a61 commit 35169aaCopy full SHA for 35169aa
2 files changed
src/actions/client.rs
@@ -69,6 +69,8 @@ pub async fn install(
69
.await?;
70
71
let _ = sender.send((0.6, t!("client.info.setting_up_destination").into()));
72
+ #[cfg(target_arch = "wasm32")]
73
+ let location = PathBuf::new();
74
75
let versions_dir = location.join("versions");
76
let profile_dir = versions_dir.join(&profile_name);
src/actions/server.rs
@@ -100,7 +100,10 @@ async fn install_path(
100
)
101
};
102
let _ = sender.send((0.1, message.into()));
103
+ #[cfg(not(target_arch = "wasm32"))]
104
let location = location.canonicalize()?;
105
106
107
108
#[cfg(not(target_arch = "wasm32"))]
109
let clear_paths = [location.join(".fabric"), location.join(".quilt")];
0 commit comments