Skip to content

Commit 1b7b8fc

Browse files
committed
feat(install): Add separation between suggestions and notes, highlight suggestions
1 parent 4e528e1 commit 1b7b8fc

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
## [v0.5.3](https://github.com/ScoopInstaller/Scoop/compare/v0.5.2...v0.5.3) - 2024-12-31
22

3+
### Features
4+
5+
- **install:** Add separation between suggestions and notes, highlight suggestions ([#6418](https://github.com/ScoopInstaller/Scoop/issues/6418))
6+
37
### Bug Fixes
48

59
- **scoop-download|install|update:** Fallback to default downloader when aria2 fails ([#4292](https://github.com/ScoopInstaller/Scoop/issues/4292))

lib/install.ps1

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -359,6 +359,7 @@ function show_notes($manifest, $dir, $original_dir, $persist_dir) {
359359
Write-Output 'Notes'
360360
Write-Output '-----'
361361
Write-Output (wraptext (substitute $manifest.notes @{ '$dir' = $dir; '$original_dir' = $original_dir; '$persist_dir' = $persist_dir }))
362+
Write-Output '-----'
362363
}
363364
}
364365

@@ -419,7 +420,7 @@ function show_suggestions($suggested) {
419420
}
420421

421422
if (!$fulfilled) {
422-
Write-Host "'$app' suggests installing '$([string]::join("' or '", $feature_suggestions))'."
423+
Write-Host "'$app' suggests installing '$([string]::join("' or '", $feature_suggestions))'." -f DarkYellow
423424
}
424425
}
425426
}

0 commit comments

Comments
 (0)