feat(notification): play default sound on WIndows

Ref https://github.com/tauri-apps/tauri/pull/6680
This commit is contained in:
Lucas Nogueira
2023-05-24 16:03:50 -03:00
parent 94b3747a9c
commit 7d71ad4e58
2 changed files with 8 additions and 0 deletions
+3
View File
@@ -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")]
{