Update _index.en.md

This commit is contained in:
Mr-Update 2023-09-13 23:22:27 +02:00 committed by GitHub
parent e5047ba21e
commit 74ce4d8c59
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -35,18 +35,18 @@ $rdver = ((Get-ItemProperty "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Un
if($rdver -eq "1.2.2")
{
write-output "RustDesk $rdver is the newest version"
exit
Write-Output "RustDesk $rdver is the newest version"
Exit
}
If (!(Test-Path C:\Temp)) {
If (!(Test-Path C:\Temp))
{
New-Item -ItemType Directory -Force -Path C:\Temp > null
}
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
$ServiceName = 'Rustdesk'