//go:build !windows package dialog import "log" // The non-Windows build logs instead of showing a box, so the tray and apply // paths can be exercised during development on Linux. // Confirm auto-declines: nothing destructive should run unattended off Windows. func Confirm(title, text string) bool { log.Printf("[dialog] confirm %q:\n%s\n(auto-declined on non-Windows build)", title, text) return false } func Info(title, text string) { log.Printf("[dialog] info %q: %s", title, text) } func Error(title, text string) { log.Printf("[dialog] error %q: %s", title, text) } func ErrorWithRetryAsAdmin(title, text string) bool { log.Printf("[dialog] error %q: %s (no elevation off Windows)", title, text) return false }