mirror of
https://github.com/shirou/gopsutil.git
synced 2025-04-26 13:48:59 +08:00
commit
e563e6394e
@ -207,6 +207,9 @@ func PlatformInformationWithContext(ctx context.Context) (platform string, famil
|
||||
} else if lsb.ID == "LinuxMint" {
|
||||
platform = "linuxmint"
|
||||
version = lsb.Release
|
||||
} else if lsb.ID == "Kylin" {
|
||||
platform = "Kylin"
|
||||
version = lsb.Release
|
||||
} else {
|
||||
if common.PathExistsWithContents("/usr/bin/raspi-config") {
|
||||
platform = "raspbian"
|
||||
|
Loading…
x
Reference in New Issue
Block a user