Improvements to update notifier
- Only report an update available if the version number of the release is greater than the current version - Removes `command` dependency from `update` package; instead, pass current version as an argument - Remove `brew upgrade` instructions since we can't be certain that gh was installed via Homebrew in the first place. - Does not check for updates unless stderr is a tty - Preserve stderr color output even if stdout is not a tty - Fixes stderr color output on Windows
This commit is contained in:
parent
fb7ea2c6a6
commit
67f0cf3ce3
6 changed files with 121 additions and 61 deletions
4
test/fixtures/latestRelease.json
vendored
4
test/fixtures/latestRelease.json
vendored
|
|
@ -1,4 +0,0 @@
|
|||
{
|
||||
"tag_name": "v1.0.0",
|
||||
"html_url": "https://www.spacejam.com/archive/spacejam/movie/jam.htm"
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue