Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
- **installed:** If no `$global`, check both local and global installed ([#4798](https://github.com/ScoopInstaller/Scoop/issues/4798))
- **scoop-prefix:** Fix typo that breaks global installed apps ([#4795](https://github.com/ScoopInstaller/Scoop/issues/4795))
- **update:** Skip logs starting with `(chore)` ([#4800](https://github.com/ScoopInstaller/Scoop/issues/4800))
- **scoop-download:** Add failure check ([#4822](https://github.com/ScoopInstaller/Scoop/pull/4822))

### Code Refactoring

Expand Down
5 changes: 4 additions & 1 deletion libexec/scoop-download.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ foreach ($curr_app in $apps) {
} catch {
write-host -f darkred $_
error "URL $url is not valid"
$dl_failure = $true
continue
}

Expand All @@ -124,7 +125,9 @@ foreach ($curr_app in $apps) {
}
}

success "'$app' ($version) was downloaded successfully!"
if (!$dl_failure) {
success "'$app' ($version) was downloaded successfully!"
}
}

exit 0