mirror of
https://github.com/tauri-apps/plugins-workspace.git
synced 2026-04-27 11:56:05 +02:00
Merge pull request #401 from tauri-apps/feat/notification-sound
feat(notification): play default sound on Windows
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