mirror of
https://github.com/rustdesk/doc.rustdesk.com.git
synced 2024-12-26 00:50:25 +01:00
Update _index.en.md
This commit is contained in:
parent
bded62d623
commit
660076c058
@ -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
|
||||
@ -230,8 +230,7 @@ sudo apt remove nginx
|
||||
## 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'
|
||||
|
||||
@ -239,18 +238,17 @@ $rdver = ((Get-ItemProperty "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Un
|
||||
|
||||
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
|
||||
```
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user