LAUNCH_TUNNEL.ps1 (572B)
1 $ErrorActionPreference = "Stop" 2 3 Write-Host "[Bzl] Launcher (Cloudflare quick tunnel)" -ForegroundColor Cyan 4 5 Set-Location $PSScriptRoot 6 7 if (-not (Get-Command node -ErrorAction SilentlyContinue)) { throw "Missing node (Node.js 18+ required)" } 8 if (-not (Get-Command cloudflared -ErrorAction SilentlyContinue)) { 9 throw "Missing cloudflared. Install it first (Windows: winget install Cloudflare.cloudflared)" 10 } 11 12 Write-Host "[Bzl] Starting (supervised) + cloudflared quick tunnel..." -ForegroundColor Yellow 13 node .\\scripts\\bzl-launch.js --supervised --cloudflared=quick