mirror of
https://github.com/rustdesk/rustdesk.git
synced 2024-11-26 06:09:03 +08:00
add comment on if exist in bat
This commit is contained in:
parent
83b3a0cbb7
commit
df32b8f07b
@ -1020,6 +1020,7 @@ copy /Y \"{tmp_path}\\Uninstall {app_name}.lnk\" \"{start_menu}\\\"
|
||||
// https://docs.microsoft.com/zh-cn/windows/win32/msi/uninstall-registry-key?redirectedfrom=MSDNa
|
||||
// https://www.windowscentral.com/how-edit-registry-using-command-prompt-windows-10
|
||||
// https://www.tenforums.com/tutorials/70903-add-remove-allowed-apps-through-windows-firewall-windows-10-a.html
|
||||
// Note: without if exist, the bat may exit in advance on some Windows7 https://github.com/rustdesk/rustdesk/issues/895
|
||||
let dels = format!(
|
||||
"
|
||||
if exist \"{mk_shortcut}\" del /f /q \"{mk_shortcut}\"
|
||||
|
Loading…
Reference in New Issue
Block a user