Build script version fix, documentation clarification on some recent feature additions.

This commit is contained in:
Sean E. Russell 2022-07-15 09:19:28 -05:00
parent d7232aacb7
commit 0c7eb6b3cb
2 changed files with 8 additions and 1 deletions

View File

@ -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.

View File

@ -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