Documentation ¶
Index ¶
- Constants
- func CreateStartupLink() (bool, string, error)
- func DeleteStartupLink() (string, error)
- func Entry(msg, val string) (string, bool, error)
- func Error(msg string) (bool, error)
- func GetPNG() string
- func HasGUI() bool
- func HasStartupLink() (string, bool)
- func Info(msg 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(text string, defaultCancel bool) (bool, error)
- func StartCmd(command string, args ...string) error
- func Toast(msg string, v ...interface{}) error
- func Warning(msg 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 ¶
This section is empty.
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.