diff options
author | Sean E. Russell <ser@ser1.net> | 2022-07-15 09:19:28 -0500 |
---|---|---|
committer | Sean E. Russell <ser@ser1.net> | 2022-07-15 09:19:28 -0500 |
commit | 0c7eb6b3cb9acc4e95a226e0b4c9575a1f6ddd79 (patch) | |
tree | 72d42b3d6d2d2b477da3a61e86be03819952c58c | |
parent | d7232aacb737c6eb0caab50b897c43041c85e5d7 (diff) |
Build script version fix, documentation clarification on some recent feature additions.
-rw-r--r-- | README.md | 7 | ||||
-rwxr-xr-x | scripts/make.sh | 2 |
2 files changed, 8 insertions, 1 deletions
@@ -53,6 +53,13 @@ curl -O -L https://raw.githubusercontent.com/xxxserxxx/gotop/master/fonts/Lat15- setfont Lat15-VGA16-braille.psf ``` +### Platform-specific features + +Sometimes libraries that gotop uses to introspect the hardware only support a subset of operating systems. Rather than cripple gotop to the LCD, I'm allowing features that may only work on some platforms. These will be listed here: + +- nvidia -- only available on systems with an nvidia GPU +- SMART NVME hard drive temperatures -- Linux & Darwin + ### Building This is the download & compile approach. diff --git a/scripts/make.sh b/scripts/make.sh index 46ecbce..a658f3d 100755 --- a/scripts/make.sh +++ b/scripts/make.sh @@ -1,6 +1,6 @@ #!/bin/bash -export VERSION=$(go run ./cmd/gotop -V) +export VERSION=$(go run ./cmd/gotop -V | grep -oP '\d+\.\d+\.\d+') rm -f build.log |