This commit is contained in:
rustdesk 2024-01-04 11:54:21 +08:00
parent 5888b051d9
commit 72e8476ded

View File

@ -190,7 +190,7 @@ 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(_) => { Err(err) => {
println!("Failed with error: {err}"); println!("Failed with error: {err}");
translate("Installation failed!".to_string()) translate("Installation failed!".to_string())
} }