From d90b34da7d2dbc5eea14d5084f03484c0d81b10d Mon Sep 17 00:00:00 2001 From: rustdesk Date: Thu, 2 Jun 2022 17:30:09 +0800 Subject: [PATCH] https://github.com/rustdesk/rustdesk/issues/677 --- src/platform/windows.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/platform/windows.rs b/src/platform/windows.rs index e9ea103da..aac86444b 100644 --- a/src/platform/windows.rs +++ b/src/platform/windows.rs @@ -988,9 +988,9 @@ reg add {subkey} /f /v UninstallString /t REG_SZ /d \"\\\"{exe}\\\" --uninstall\ reg add {subkey} /f /v EstimatedSize /t REG_DWORD /d {size} reg add {subkey} /f /v WindowsInstaller /t REG_DWORD /d 0 {lic} -\"{mk_shortcut}\" -\"{uninstall_shortcut}\" -\"{tray_shortcut}\" +wscript \"{mk_shortcut}\" +wscript \"{uninstall_shortcut}\" +wscript \"{tray_shortcut}\" copy /Y \"{tmp_path}\\{app_name} Tray.lnk\" \"C:\\ProgramData\\Microsoft\\Windows\\Start Menu\\Programs\\Startup\\\" {shortcuts} copy /Y \"{tmp_path}\\Uninstall {app_name}.lnk\" \"{path}\\\"