File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 3636
3737 - name : Download bundled WinSxS packages
3838 run : |
39- New-Item -Path "src\additionals\packages\winsxs" -ItemType Directory -Force | Out-Null
40-
39+ $path = "src\additionals\packages\winsxs"
40+ New-Item -Path $path -ItemType Directory -Force | Out-Null
41+
4142 Write-Host "Fetching latest packages from meetrevision/packages..."
4243 $release = Invoke-RestMethod -Uri "https://api.github.com/repos/meetrevision/packages/releases/latest"
4344
4748 foreach ($asset in $cabAssets) {
4849 $fileName = $asset.name
4950 $downloadUrl = $asset.browser_download_url
50- $filePath = "src\packages\winsxs \$fileName"
51+ $filePath = "$path \$fileName"
5152
5253 Write-Host " Downloading $fileName..."
5354 Invoke-WebRequest -Uri $downloadUrl -OutFile $filePath
You can’t perform that action at this time.
0 commit comments