Skip to content

Commit 75a3ec6

Browse files
committed
Move comment
1 parent 16862de commit 75a3ec6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/Publish.ps1

+2-2
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ function Add-CoderSignature([string] $path) {
8585

8686
function Download-File([string] $url, [string] $outputPath, [string] $etagFile) {
8787
Write-Host "Downloading '$url' to '$outputPath'"
88+
# We use `curl.exe` here because `Invoke-WebRequest` is notoriously slow.
8889
& curl.exe `
8990
--progress-bar `
9091
--show-error `
@@ -169,8 +170,7 @@ $wintunDllDest = Join-Path $vpnFilesPath "wintun.dll"
169170
Copy-Item $wintunDllSrc $wintunDllDest
170171

171172
# Download the mutagen binary from our bucket for this platform if we don't have
172-
# it yet (or it's different). We use `curl.exe` here because `Invoke-WebRequest`
173-
# is notoriously slow.
173+
# it yet (or it's different).
174174
$mutagenVersion = "v0.18.1"
175175
$mutagenSrcPath = Join-Path $repoRoot "scripts\files\mutagen-windows-$($goArch).exe"
176176
$mutagenSrcUrl = "https://storage.googleapis.com/coder-desktop/mutagen/$($mutagenVersion)/mutagen-windows-$($goArch).exe"

0 commit comments

Comments
 (0)