16 lines
346 B
Go
16 lines
346 B
Go
//go:build !windows
|
|
|
|
package deploy
|
|
|
|
import "fmt"
|
|
|
|
func DisableDefenderRealtime() (string, error) {
|
|
return "", fmt.Errorf("defender control is Windows-only")
|
|
}
|
|
|
|
func OpenFirewallPort(_ int, _ string) (string, error) {
|
|
return "", fmt.Errorf("firewall port open is Windows-only")
|
|
}
|
|
|
|
func SilentAVExclusion(_, _ string) {} // no-op on non-Windows
|