From e3b2ba7a367569ff90982ce46e4f1ae540c12e56 Mon Sep 17 00:00:00 2001 From: spiritlhl <103393591+spiritLHLS@users.noreply.github.com> Date: Thu, 10 Jul 2025 06:31:06 +0000 Subject: [PATCH] =?UTF-8?q?fix:=20=E9=80=82=E9=85=8DMACOS=E5=A4=9A?= =?UTF-8?q?=E7=9B=98=E6=A3=80=E6=B5=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/ci.yaml | 2 +- model/model.go | 2 +- system/host.go | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index e14529b..050d311 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -27,7 +27,7 @@ jobs: run: | git config --global user.name 'github-actions' git config --global user.email 'github-actions@github.com' - TAG="v0.0.13-$(date +'%Y%m%d%H%M%S')" + TAG="v0.0.14-$(date +'%Y%m%d%H%M%S')" git tag $TAG git push origin $TAG echo "TAG=$TAG" >> $GITHUB_ENV diff --git a/model/model.go b/model/model.go index 6ccf856..ba60fe4 100644 --- a/model/model.go +++ b/model/model.go @@ -1,6 +1,6 @@ package model -const BasicsVersion = "v0.0.13" +const BasicsVersion = "v0.0.14" var EnableLoger bool diff --git a/system/host.go b/system/host.go index 2991ea3..cb40918 100644 --- a/system/host.go +++ b/system/host.go @@ -202,9 +202,9 @@ func getHostInfo() (string, string, string, string, string, string, string, stri } } if foundPhysical { - VmType = "physical" + VmType = "Physical" } else if modelName == "" { - VmType = "unknown" + VmType = "Unknown" } else { VmType = modelName }