package banner

import (
	"errors"

	"github.com/variadico/noti"
)

// Notify displays a notification. This will always return an error on Windows.
func Notify(n noti.Params) error {
	return errors.New("banner notification not supported on this platform")
}

package banner

import (
	toast "github.com/jacobmarshall/go-toast"
	"github.com/variadico/noti"
)

// Notify displays a Windows 10 Toast Notification.
func Notify(n noti.Params) error {
	notification := toast.Notification{
		AppID:   "noti",
		Title:   n.Title,
		Message: n.Message,
		Icon:    "",
		Actions: nil}

	return notification.Push()
}

Add basic Windows 10 support
Add basic Windows 10 support

This adds preliminary support for Windows 10 Toast notifications.

Closes #36
