mirror of
https://github.com/taigrr/wtf
synced 2025-01-18 04:03:14 -08:00
Remove redundant code from SystemInfo
This commit is contained in:
parent
20e49ee749
commit
3d1202126f
@ -51,12 +51,6 @@ func NewSystemInfo() *SystemInfo {
|
||||
ProductVersion: m["Description"],
|
||||
BuildVersion: m["Release"],
|
||||
}
|
||||
case "darwin":
|
||||
sysInfo = &SystemInfo{
|
||||
ProductName: m["ProductName"],
|
||||
ProductVersion: m["ProductVersion"],
|
||||
BuildVersion: m["BuildVersion"],
|
||||
}
|
||||
default:
|
||||
sysInfo = &SystemInfo{
|
||||
ProductName: m["ProductName"],
|
||||
|
Loading…
x
Reference in New Issue
Block a user