Skip to content

Commit b592b38

Browse files
authored
feat(install): Add separator at the end of notes, highlight suggestions (#6418)
1 parent 25d3500 commit b592b38

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
## [Unreleased](https://github.com/ScoopInstaller/Scoop/compare/v0.5.3...develop)
22

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

59
- **scoop-download:** Fix function `nightly_version` not defined error ([#6386](https://github.com/ScoopInstaller/Scoop/issues/6386))

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))'." -ForegroundColor DarkYellow
423424
}
424425
}
425426
}

0 commit comments

Comments
 (0)