File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change 144
144
Write-Host " Downloading WebUI@$version ..."
145
145
Invoke-WebRequest - Uri $url - OutFile $archive
146
146
147
- # Move the extracted files to the output directory.
148
147
Write-Host " Extracting..."
149
148
Expand-Archive - LiteralPath $archive
150
149
Move-Item - Path $archive_dir \$archive_dir - Destination $output
Original file line number Diff line number Diff line change 124
124
# Clean old library files.
125
125
rm -rf " $output "
126
126
127
- # Download and extract the archive.
128
127
if [ " $version " = " nightly" ]; then
129
128
url=" $release_base_url /download/nightly/$archive "
130
129
elif [ " $version " = " latest" ]; then
131
130
url=" $release_base_url /latest/download/$archive "
132
131
else
133
132
url=" $release_base_url /download/$version /$archive "
134
133
fi
134
+
135
+ # Download and extract the archive.
135
136
echo " Downloading WebUI@$version ..."
136
137
curl -L " $url " -o " $archive "
137
138
echo " "
138
139
139
- # Move the extracted files to the output directory.
140
140
echo " Extracting..."
141
141
archive_dir=" ${archive% .zip} "
142
142
unzip -o " $archive "
You can’t perform that action at this time.
0 commit comments