13 lines
364 B
Go
13 lines
364 B
Go
//go:build !windows
|
|||
|
|
|
||
|
|
package notify
|
||
|
|
|
||
|
|
// UseIcon remembers the icon file for notifications (Linux: app_icon of the
|
||
|
|
// freedesktop notification). macOS has no way to pass one to osascript.
|
||
|
|
func UseIcon(iconPath string) error {
|
||
|
|
setIconPath(iconPath)
|
||
|
|
return nil
|
||
|
|
}
|
||
|
|
|
||
|
|
// ownIdentity is a Windows concept (toast AppUserModelID).
|
||
|
|
func ownIdentity() bool { return false }
|