Removed lshw as a dependency

Renamed Utils.go to utils.go
This commit is contained in:
CapCreeperGR 2024-05-15 10:07:20 +03:00
parent 4c72295972
commit c13c730e4c
3 changed files with 1 additions and 2 deletions

View File

@ -20,7 +20,6 @@ Stormfetch is still in beta, so distro compatibility is limited. If you would li
- Download `make` from your package manager
- (Optional) Download `xorg-xhost` from your package manager to display DE/WM and monitor information
- (Optional) Download `xorg-xdpyinfo` from your package manager to display screen resolution
- (Optional) Download `lshw` from your package manager to display GPU information
- Run the following command to compile the project
```
make

View File

@ -74,7 +74,7 @@ func readConfig() {
}
// Show Dependency warning if enabled
if config.DependencyWarning {
dependencies := []string{"lshw", "xhost", "xdpyinfo"}
dependencies := []string{"xhost", "xdpyinfo"}
var missing []string
for _, depend := range dependencies {
if _, err := os.Stat(path.Join("/usr/bin/", depend)); err != nil {

View File