try { $Host.UI.RawUI.BackgroundColor = 'Black'; $Host.UI.RawUI.ForegroundColor = 'Green' } catch {} cmd /c color 0a Clear-Host function t($s) { foreach ($c in $s.ToCharArray()) { Write-Host $c -NoNewline -ForegroundColor Green; Start-Sleep -Milliseconds 12 }; Write-Host } function ok($s) { Write-Host "[" -NoNewline -ForegroundColor DarkGreen; Write-Host "+" -NoNewline -ForegroundColor Green; Write-Host "] $s" -ForegroundColor Green } Write-Host @" __ __ _____ ____ ____ \ \ /\ / / / ___ \| _ \ | _ \ \ V V / | |___| | |_) || |_) | \_/\_/ |_| |_| _ < | __/ |_| \_\|_| "@ -ForegroundColor Green Write-Host " >> tunnel bootstrap // 1.1.1.1" -ForegroundColor DarkGreen Write-Host t "> fetching cloudflare warp ..." winget install -e --id Cloudflare.Warp --accept-package-agreements --accept-source-agreements ok "package installed" t "> waiting for daemon ..." Start-Sleep 10 $w = "$env:ProgramFiles\Cloudflare\Cloudflare WARP\warp-cli.exe" t "> registering device ..." & $w --accept-tos registration new ok "registered" t "> establishing tunnel ..." & $w connect Start-Sleep 5 ok "link up" Write-Host & $w status Write-Host t ">> done. you're in."