- Cross-platform support (Windows/Linux) with Windows Updates and Winget - Added dependency confirmation workflow and refresh token authentication - New screenshots: History, Live Operations, Windows Agent Details - Local CLI features with terminal output and cache system - Updated known limitations - Proxmox integration is broken - Organized docs to docs/ folder and updated .gitignore - Probably introduced a dozen bugs with Windows agents - stay tuned
39 lines
730 B
Go
39 lines
730 B
Go
//go:build !windows
|
|
// +build !windows
|
|
|
|
package system
|
|
|
|
// Stub functions for non-Windows platforms
|
|
// These return empty/default values on non-Windows systems
|
|
|
|
func getWindowsCPUInfo() (*CPUInfo, error) {
|
|
return &CPUInfo{}, nil
|
|
}
|
|
|
|
func getWindowsMemoryInfo() (*MemoryInfo, error) {
|
|
return &MemoryInfo{}, nil
|
|
}
|
|
|
|
func getWindowsDiskInfo() ([]DiskInfo, error) {
|
|
return []DiskInfo{}, nil
|
|
}
|
|
|
|
func getWindowsProcessCount() (int, error) {
|
|
return 0, nil
|
|
}
|
|
|
|
func getWindowsUptime() (string, error) {
|
|
return "Unknown", nil
|
|
}
|
|
|
|
func getWindowsIPAddress() (string, error) {
|
|
return "127.0.0.1", nil
|
|
}
|
|
|
|
func getWindowsHardwareInfo() map[string]string {
|
|
return make(map[string]string)
|
|
}
|
|
|
|
func getWindowsInfo() string {
|
|
return "Windows"
|
|
} |