summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSean E. Russell <ser@ser1.net>2022-07-15 09:19:28 -0500
committerSean E. Russell <ser@ser1.net>2022-07-15 09:19:28 -0500
commit0c7eb6b3cb9acc4e95a226e0b4c9575a1f6ddd79 (patch)
tree72d42b3d6d2d2b477da3a61e86be03819952c58c
parentd7232aacb737c6eb0caab50b897c43041c85e5d7 (diff)
Build script version fix, documentation clarification on some recent feature additions.
-rw-r--r--README.md7
-rwxr-xr-xscripts/make.sh2
2 files changed, 8 insertions, 1 deletions
diff --git a/README.md b/README.md
index f23a061..ff0562a 100644
--- a/README.md
+++ b/README.md
@@ -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