Skip to content

Commit 2b5bca4

Browse files
committed
Fix windows settings command
1 parent 66760ba commit 2b5bca4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src-tauri/src/commands.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,5 +58,7 @@ pub fn go_to_notification_settings() {
5858
#[cfg(target_os = "windows")]
5959
#[tauri::command]
6060
pub fn go_to_notification_settings() {
61-
let _ = std::process::Command::new("ms-settings:notifications").spawn();
61+
let _ = std::process::Command::new("start")
62+
.arg("ms-settings:notifications")
63+
.spawn();
6264
}

0 commit comments

Comments
 (0)