Update _index.en.md

This commit is contained in:
Mr-Update 2023-09-13 23:26:08 +02:00 committed by GitHub
parent 7250bc90ac
commit ff0ef7d4ba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -57,14 +57,14 @@ A simple way to check is using telnet. To test in the Linux terminal type `telne
Your mail server may not be using port 25. Please make sure you are using the correct ports. Your mail server may not be using port 25. Please make sure you are using the correct ports.
## Can I deploy RustDesk using powershell? ## Can I deploy RustDesk using PowerShell?
Sure, this script can help, replace `youraddress` and `yourkey` with your address and key for your RustDesk Server Pro Address and Key. Sure, this script can help, replace `youraddress` and `yourkey` with your address and key for your RustDesk Server Pro Address and Key.
```ps ```ps
$ErrorActionPreference= 'silentlycontinue' $ErrorActionPreference= 'silentlycontinue'
$rdver = ((Get-ItemProperty "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\RustDesk\").Version) $rdver = ((Get-ItemProperty "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\RustDesk\").Version)
if($rdver -eq "1.2.1") if($rdver -eq "1.2.2")
{ {
write-output "RustDesk $rdver is the newest version" write-output "RustDesk $rdver is the newest version"
@ -77,7 +77,7 @@ If (!(Test-Path C:\Temp)) {
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" 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 Start-Process .\rustdesk.exe --silent-install -wait
$ServiceName = 'Rustdesk' $ServiceName = 'Rustdesk'
@ -216,6 +216,6 @@ If (!(Test-Path C:\Temp)) {
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" 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 Start-Process .\rustdesk.exe --silent-install -wait
``` ```