File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -70,15 +70,15 @@ foreach ($single in Get-ChildItem $Dir "$App.json") {
7070 $urls = @ ()
7171 $hashes = @ ()
7272
73- if ($manifest.architecture ) {
73+ if ($manifest.url ) {
74+ $manifest.url | ForEach-Object { $urls += $_ }
75+ $manifest.hash | ForEach-Object { $hashes += $_ }
76+ } elseif ($manifest.architecture ) {
7477 # First handle 64bit
7578 url $manifest ' 64bit' | ForEach-Object { $urls += $_ }
7679 hash $manifest ' 64bit' | ForEach-Object { $hashes += $_ }
7780 url $manifest ' 32bit' | ForEach-Object { $urls += $_ }
7881 hash $manifest ' 32bit' | ForEach-Object { $hashes += $_ }
79- } elseif ($manifest.url ) {
80- $manifest.url | ForEach-Object { $urls += $_ }
81- $manifest.hash | ForEach-Object { $hashes += $_ }
8282 } else {
8383 err $name ' Manifest does not contain URL property.'
8484 continue
You can’t perform that action at this time.
0 commit comments