SHA256
Add install base step.
This commit is contained in:
1 parent
1bdc4547d3
commit
279bd30463
1 file changed
+12
@@ -243,6 +243,18 @@ fn do_install(
|
||||
return;
|
||||
}
|
||||
|
||||
// installing base system
|
||||
let res = install_base_async(MNT_DIR.into()).await;
|
||||
let res_err = res.is_err();
|
||||
output
|
||||
.send(res.map(|_| (10.0f32, "Some other stuff".into())))
|
||||
.await
|
||||
.unwrap();
|
||||
|
||||
if res_err {
|
||||
return;
|
||||
}
|
||||
|
||||
// Check if send fails (receiver dropped/cancelled)
|
||||
// if output.send(res).await.is_err() {
|
||||
// return; // Exit early if UI is gone
|
||||
|
||||
Reference in new issue
Block a user