Skip to content

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

fix: msi, prevent black window (#13665)

fufesou9cfa551163c0
diff --git a/src/platform/windows.rs b/src/platform/windows.rs
index b5663c26c..9481bd69f 100644
--- a/src/platform/windows.rs
+++ b/src/platform/windows.rs
@@ -1882,6 +1882,7 @@ oLink.Save
.to_owned();
std::process::Command::new("cscript")
.arg(&shortcut)
+ .creation_flags(CREATE_NO_WINDOW)
.output()?;
allow_err!(std::fs::remove_file(shortcut));
Ok(())