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