From 0c7eb6b3cb9acc4e95a226e0b4c9575a1f6ddd79 Mon Sep 17 00:00:00 2001 From: "Sean E. Russell" Date: Fri, 15 Jul 2022 09:19:28 -0500 Subject: Build script version fix, documentation clarification on some recent feature additions. --- README.md | 7 +++++++ scripts/make.sh | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3