mirror of
https://github.com/oneclickvirt/basics.git
synced 2025-10-08 18:11:02 +08:00
update
This commit is contained in:
@@ -72,7 +72,7 @@ func CheckSystemInfo(language string) string {
|
||||
if ret.CpuCache != "" {
|
||||
res += " CPU Cache : " + ret.CpuCache + "\n"
|
||||
}
|
||||
if ret.GpuModel != "" {
|
||||
if ret.GpuModel != "" && ret.GpuModel != "unknown" {
|
||||
res += " GPU Model : " + ret.GpuModel + "\n"
|
||||
if ret.GpuStats != "" && ret.GpuStats != "0" {
|
||||
res += " GPU Stats : " + ret.GpuStats + "\n"
|
||||
@@ -121,7 +121,7 @@ func CheckSystemInfo(language string) string {
|
||||
if ret.CpuCache != "" {
|
||||
res += " CPU 缓存 : " + ret.CpuCache + "\n"
|
||||
}
|
||||
if ret.GpuModel != "" {
|
||||
if ret.GpuModel != "" && ret.GpuModel != "unknown" {
|
||||
res += " GPU 型号 : " + ret.GpuModel + "\n"
|
||||
if ret.GpuStats != "" && ret.GpuStats != "0" {
|
||||
res += " GPU 状态 : " + ret.GpuStats + "\n"
|
||||
|
Reference in New Issue
Block a user