//go:build !windows package elevate import "errors" // IsElevated reports true off Windows so development builds do not show the // "Relaunch as administrator" item that could not work anyway. func IsElevated() bool { return true } // RelaunchAsAdmin has no meaning outside Windows. func RelaunchAsAdmin() error { return errors.New("elevation is only supported on Windows") }