//go:build !windows package desktop import ( "fmt" "os/exec" ) // OpenURL shells out to xdg-open so the editor can be exercised during // development on Linux. func OpenURL(url string) error { if err := exec.Command("xdg-open", url).Start(); err != nil { return fmt.Errorf("opening %s: %w", url, err) } return nil } // SetRunAtLogin is a no-op: the Run key is a Windows concept. func SetRunAtLogin(enabled bool) error { return nil } // RunAtLogin always reports false off Windows. func RunAtLogin() bool { return false }