From 660076c058fd78b08af4b46328f1ed89e1d7259e Mon Sep 17 00:00:00 2001 From: Mr-Update <37781396+Mr-Update@users.noreply.github.com> Date: Thu, 31 Aug 2023 22:05:54 +0200 Subject: [PATCH] Update _index.en.md --- .../rustdesk-server-pro/FAQ/_index.en.md | 22 +++++++++---------- 1 file changed, 10 insertions(+), 12 deletions(-) diff --git a/content/self-host/rustdesk-server-pro/FAQ/_index.en.md b/content/self-host/rustdesk-server-pro/FAQ/_index.en.md index 4966174..038295f 100644 --- a/content/self-host/rustdesk-server-pro/FAQ/_index.en.md +++ b/content/self-host/rustdesk-server-pro/FAQ/_index.en.md @@ -104,11 +104,11 @@ write-output "RustDesk $rdver is the newest version" exit } -If (!(Test-Path c:\Temp)) { - New-Item -ItemType Directory -Force -Path c:\Temp > null +If (!(Test-Path C:\Temp)) { + New-Item -ItemType Directory -Force -Path C:\Temp > null } -cd c:\Temp +cd C:\Temp powershell Invoke-WebRequest "https://github.com/rustdesk/rustdesk/releases/download/1.2.1/rustdesk-1.2.1-x86_64.exe" -Outfile "rustdesk.exe" Start-Process .\rustdesk.exe --silent-install -wait @@ -227,30 +227,28 @@ If the script installed Nginx then remove using: sudo apt remove nginx ``` -## How can I remove devices from the device list in the web console? +## How can I remove devices from the device list in the web console? Disable and then delete will now be available. -## How Can I update RustDesk Wth Powershell? - +## How can I update RustDesk with PowerShell? ```ps $ErrorActionPreference= 'silentlycontinue' $rdver = ((Get-ItemProperty "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\RustDesk\").Version) -if($rdver -eq "1.2.2") +if($rdver -eq "1.2.2") { -write-output "RustDesk $rdver is the newest version" +write-output "RustDesk $rdver is the newest version." exit } -If (!(Test-Path c:\Temp)) { - New-Item -ItemType Directory -Force -Path c:\Temp > null +If (!(Test-Path C:\Temp)) { + New-Item -ItemType Directory -Force -Path C:\Temp > null } -cd c:\Temp +cd C:\Temp powershell Invoke-WebRequest "https://github.com/rustdesk/rustdesk/releases/download/1.2.2/rustdesk-1.2.2-x86_64.exe" -Outfile "rustdesk.exe" Start-Process .\rustdesk.exe --silent-install -wait ``` -