// Helper functions for backends package backends import "runtime" // MonitorSourceAvailable returns true if monitor capture is available on this platform. func MonitorSourceAvailable() bool { // Monitor capture should work on most platforms, but let's be conservative switch runtime.GOOS { case "windows", "linux", "darwin": return true default: return false } }