mirror of
https://github.com/electron/electron.git
synced 2026-05-02 03:00:22 -04:00
* feat: support notification priority on Windows Add Windows notifications support urgency/priority levels. This maps the existing `urgency` option (previously Linux-only) to Windows toast notification priorities: - 'critical' maps to ToastNotificationPriority_High, which sorts the notification above default-priority items in Action Center. - 'normal' and 'low' both map to ToastNotificationPriority_Default. Note that on Windows, 'critical' priority does not prevent the toast from being auto-dismissed. Users should additionally set `timeoutType` to 'never' for that behavior. * chore: make linter happy --------- Co-authored-by: Charles Kerr <charles@charleskerr.com>