Add FreeBSD icon

This commit is contained in:
henrygd
2025-04-28 19:37:00 -04:00
parent 2cc516f9e5
commit 88d6307ce0
5 changed files with 22 additions and 2 deletions

View File

@@ -31,6 +31,9 @@ func (a *Agent) initializeSystemInfo() {
} else if strings.Contains(platform, "indows") {
a.systemInfo.KernelVersion = strings.Replace(platform, "Microsoft ", "", 1) + " " + version
a.systemInfo.Os = system.Windows
} else if platform == "freebsd" {
a.systemInfo.Os = system.Freebsd
a.systemInfo.KernelVersion = version
} else {
a.systemInfo.Os = system.Linux
}