An open-source remote desktop application designed for self-hosting, as an alternative to TeamViewer.
Rust androidanydeskdartflatpakflutterflutter-appsioslinuxmacosp2prdpremote-controlremote-desktoprustrust-langteamviewervncwaylandwindows
trivial changes
fufesou3e8c5d3b79ac
diff --git a/libs/scrap/src/dxgi/mag.rs b/libs/scrap/src/dxgi/mag.rsindex f759ecbeb..923606a82 100644--- a/libs/scrap/src/dxgi/mag.rs+++ b/libs/scrap/src/dxgi/mag.rs@@ -139,7 +139,7 @@ impl MagInterface {return Err(Error::new(ErrorKind::Other,format!(- "Failed to LoadLibraryExA {}, error: {}",+ "Failed to LoadLibraryExA {}, error {}",lib_file_name,Error::last_os_error()),@@ -173,7 +173,7 @@ impl MagInterface {if FALSE == init_func() {return Err(Error::new(ErrorKind::Other,- format!("Failed to MagInitialize, error: {}", Error::last_os_error()),+ format!("Failed to MagInitialize, error {}", Error::last_os_error()),));} else {s.init_succeeded = true;@@ -346,7 +346,7 @@ impl CapturerMag {return Err(Error::new(ErrorKind::Other,format!(- "Failed to RegisterClassExA, error {:?}",+ "Failed to RegisterClassExA, error {}",Error::from_raw_os_error(code as _)),));diff --git a/src/platform/windows.rs b/src/platform/windows.rsindex f005d3720..3a726c2a1 100644--- a/src/platform/windows.rs+++ b/src/platform/windows.rs@@ -1700,7 +1700,7 @@ pub fn create_process_with_logon(user: &str, pwd: &str, exe: &str, arg: &str) ->{let last_error = GetLastError();bail!(- "CreateProcessWithLogonW failed : \"{}\", error {:?}",+ "CreateProcessWithLogonW failed : \"{}\", error {}",last_error_table.get(&last_error).unwrap_or(&"Unknown error"),