perf: disable powershell progress bar for faster execution
Thumbgo committed
Dec 23, 2025 at 12:32 UTC
c5d113c72e694837a9fd17e2ae090862b2bee511
1 file changed
+1
-1
cmd/relay-server/frontend/src/components/TunnelCommandModal.tsx
+1
-1
@@ -75,7 +75,7 @@ export function TunnelCommandModal({ trigger }: TunnelCommandModalProps) {
75
relayUrls.length > 0 ? relayUrls.join(",") : currentOrigin;
76
77
if (os === "windows") {
78
- return `$env:HOST="${hostVal}"; $env:NAME="${nameVal}"; $env:RELAY_URL="${relayUrlVal}"; irm ${currentOrigin}/tunnel?os=windows | iex`;
78
+ return `$ProgressPreference = 'SilentlyContinue'; $env:HOST="${hostVal}"; $env:NAME="${nameVal}"; $env:RELAY_URL="${relayUrlVal}"; irm ${currentOrigin}/tunnel?os=windows | iex`;
79
}
80
81
return `curl -fsSL ${currentOrigin}/tunnel | HOST=${hostVal} NAME=${nameVal} RELAY_URL="${relayUrlVal}" sh`;