Documentation
¶
Index ¶
- Constants
- Variables
- func CreateStartupLink() (bool, string, error)
- func DeleteStartupLink() (string, error)
- func Entry(_, val string) (string, bool, error)
- func Error(_ string) (bool, error)
- func GetPNG() string
- func HasGUI() bool
- func HasStartupLink() (string, bool)
- func Info(_ string) (bool, error)
- func OpenCmd(cmd ...string) error
- func OpenFile(filePath string) error
- func OpenLog(logFile string) error
- func OpenURL(url string) error
- func Question(_ string, _ bool) (bool, error)
- func StartCmd(command string, args ...string) error
- func Toast(_ string, _ ...interface{}) error
- func Warning(_ string) (bool, error)
Constants ¶
View Source
const SystrayIcon = "files/images/logo/notifiarr.png"
SystrayIcon is the icon in the system tray or task bar.
View Source
const ToastIcon = "files/images/logo/notifiarr.png"
ToastIcon is the icon in the menu bar.
Variables ¶
View Source
var ErrUnsupported = errors.New("unsupported OS")
ErrUnsupported is just an error.
Functions ¶
func CreateStartupLink ¶ added in v0.8.1
func DeleteStartupLink ¶ added in v0.8.1
func GetPNG ¶ added in v0.8.1
func GetPNG() string
GetPNG purposely returns an empty string when there is no verified file. This is used to give the toast notification an icon. Do not throw errors if the icon is missing, it's nbd, just return empty "".
func HasStartupLink ¶ added in v0.8.1
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.