println install failure
This commit is contained in:
parent
7e3a0c4ded
commit
7f7d4a77b6
@ -190,7 +190,10 @@ pub fn core_main() -> Option<Vec<String>> {
|
|||||||
);
|
);
|
||||||
let text = match res {
|
let text = match res {
|
||||||
Ok(_) => translate("Installation Successful!".to_string()),
|
Ok(_) => translate("Installation Successful!".to_string()),
|
||||||
Err(_) => translate("Installation failed!".to_string()),
|
Err(_) => {
|
||||||
|
println!("Failed with error: {err}");
|
||||||
|
translate("Installation failed!".to_string())
|
||||||
|
}
|
||||||
};
|
};
|
||||||
Toast::new(Toast::POWERSHELL_APP_ID)
|
Toast::new(Toast::POWERSHELL_APP_ID)
|
||||||
.title(&hbb_common::config::APP_NAME.read().unwrap())
|
.title(&hbb_common::config::APP_NAME.read().unwrap())
|
||||||
|
Loading…
Reference in New Issue
Block a user