add debian to the list of supportted OS-Id to add dietpi

This commit is contained in:
2025-09-11 11:50:00 +02:00
parent 4dd553224d
commit c1cdc9d0af

View File

@@ -36,7 +36,7 @@ func isSupported() bool {
return true
case "linux":
id := linuxID()
return id == "ubuntu" || id == "arch"
return id == "ubuntu" || id == "debian" || id == "arch"
default:
return false
}
@@ -56,4 +56,3 @@ func main() {
}
fmt.Printf("CPU %.0f%% | RAM %.0f%% ", values[0], vm.UsedPercent)
}