Skip to content

Commit 0549c7f

Browse files
Add files via upload
Signed-off-by: Caden F <[email protected]>
1 parent 6487a45 commit 0549c7f

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

scripts/install_rustdesk.ps1

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
$url = "https://github.com/rustdesk/rustdesk/releases/download/1.3.8/rustdesk-1.3.8-x86_64.exe"
2+
3+
# Set download path
4+
$downloadPath = "$env:TEMP\rustdesk-win.exe"
5+
6+
# Download RustDesk
7+
Write-Host "Downloading RustDesk..."
8+
Invoke-WebRequest -Uri $url -OutFile $downloadPath
9+
10+
# Install RustDesk silently
11+
Write-Host "Installing RustDesk..."
12+
Start-Process -FilePath $downloadPath -ArgumentList "/silent" -Wait
13+
14+
# Cleanup
15+
Remove-Item -Path $downloadPath -Force
16+
17+
Write-Host "RustDesk installation completed."

0 commit comments

Comments
 (0)