Skip to content

Commit 7603cfc

Browse files
committed
Cleanup comments
1 parent 81678fb commit 7603cfc

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

setup.ps1

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,6 @@ else
144144
Write-Host "Downloading WebUI@$version..."
145145
Invoke-WebRequest -Uri $url -OutFile $archive
146146

147-
# Move the extracted files to the output directory.
148147
Write-Host "Extracting..."
149148
Expand-Archive -LiteralPath $archive
150149
Move-Item -Path $archive_dir\$archive_dir -Destination $output

setup.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,19 +124,19 @@ fi
124124
# Clean old library files.
125125
rm -rf "$output"
126126

127-
# Download and extract the archive.
128127
if [ "$version" = "nightly" ]; then
129128
url="$release_base_url/download/nightly/$archive"
130129
elif [ "$version" = "latest" ]; then
131130
url="$release_base_url/latest/download/$archive"
132131
else
133132
url="$release_base_url/download/$version/$archive"
134133
fi
134+
135+
# Download and extract the archive.
135136
echo "Downloading WebUI@$version..."
136137
curl -L "$url" -o "$archive"
137138
echo ""
138139

139-
# Move the extracted files to the output directory.
140140
echo "Extracting..."
141141
archive_dir="${archive%.zip}"
142142
unzip -o "$archive"

0 commit comments

Comments
 (0)