Skip to content

Instantly share code, notes, and snippets.

# ==================================================
# install_and_config_rustdesk_complete_adapted.ps1
# ==================================================
# Configuracoes
$downloadUrl = 'https://github.com/rustdesk/rustdesk/releases/download/1.4.2/rustdesk-1.4.2-x86_64.exe'
$tempDir = [IO.Path]::GetTempPath()
$installerPath = Join-Path $tempDir 'rustdesk-1.4.2-x86_64.exe'
$rustdeskDir = "C:\Program Files\RustDesk"
$rustdeskExe = Join-Path $rustdeskDir 'rustdesk.exe'