From 9cfa551163c043f12b3af77577901f2da5f25cfd Mon Sep 17 00:00:00 2001 From: fufesou <13586388+fufesou@users.noreply.github.com> Date: Fri, 28 Nov 2025 17:25:43 +0800 Subject: [PATCH] fix: msi, prevent black window (#13665) For msi version, the black window is shown when creating desktop shortcut for connection. The exe version does not have this issue. Signed-off-by: fufesou --- src/platform/windows.rs | 1 + 1 file changed, 1 insertion(+) 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(())