Skip to content

An open-source remote desktop application designed for self-hosting, as an alternative to TeamViewer.

println install failure

rustdesk7f7d4a77b61a
diff --git a/src/core_main.rs b/src/core_main.rs
index 2b66b8081..efaa21d60 100644
--- a/src/core_main.rs
+++ b/src/core_main.rs
@@ -190,7 +190,10 @@ pub fn core_main() -> Option<Vec<String>> {
);
let text = match res {
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)
.title(&hbb_common::config::APP_NAME.read().unwrap())