- 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
28 lines
705 B
Go
28 lines
705 B
Go
//go:build !windows
|
|
// +build !windows
|
|
|
|
package scanner
|
|
|
|
import "github.com/aggregator-project/aggregator-agent/internal/client"
|
|
|
|
// WindowsUpdateScanner stub for non-Windows platforms
|
|
type WindowsUpdateScanner struct{}
|
|
|
|
// NewWindowsUpdateScanner creates a stub Windows scanner for non-Windows platforms
|
|
func NewWindowsUpdateScanner() *WindowsUpdateScanner {
|
|
return &WindowsUpdateScanner{}
|
|
}
|
|
|
|
// IsAvailable always returns false on non-Windows platforms
|
|
func (s *WindowsUpdateScanner) IsAvailable() bool {
|
|
return false
|
|
}
|
|
|
|
// Scan always returns no updates on non-Windows platforms
|
|
func (s *WindowsUpdateScanner) Scan() ([]client.UpdateReportItem, error) {
|
|
return []client.UpdateReportItem{}, nil
|
|
}
|
|
|
|
|
|
|