mirror of
https://github.com/tauri-apps/plugins-workspace.git
synced 2026-04-21 11:26:15 +02:00
feat(notification): play default sound on WIndows
Ref https://github.com/tauri-apps/tauri/pull/6680
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"notification": patch
|
||||
---
|
||||
|
||||
Play a default sound when showing a notification on Windows.
|
||||
@@ -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")]
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user