diff --git a/.changes/notification-sound.md b/.changes/notification-sound.md new file mode 100644 index 00000000..35f75536 --- /dev/null +++ b/.changes/notification-sound.md @@ -0,0 +1,5 @@ +--- +"notification": patch +--- + +Play a default sound when showing a notification on Windows. diff --git a/plugins/notification/src/desktop.rs b/plugins/notification/src/desktop.rs index 897790f0..401f6569 100644 --- a/plugins/notification/src/desktop.rs +++ b/plugins/notification/src/desktop.rs @@ -184,6 +184,9 @@ mod imp { { notification.app_id(&self.identifier); } + + // will be parsed as a `::winrt_notification::Sound` + notification.sound_name("Default"); } #[cfg(target_os = "macos")] {