diff --git a/src-tauri/Cargo.lock b/src-tauri/Cargo.lock index 044f1e5..62d29c3 100644 --- a/src-tauri/Cargo.lock +++ b/src-tauri/Cargo.lock @@ -2650,6 +2650,7 @@ dependencies = [ "uuid", "webkit2gtk", "webview2-com", + "win7-notifications", "windows 0.39.0", ] @@ -3304,6 +3305,16 @@ dependencies = [ "windows-metadata", ] +[[package]] +name = "win7-notifications" +version = "0.4.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5769377d35b12e7995433e4af522260a6b37c24f57e7fbb75755f54a1a639bd4" +dependencies = [ + "once_cell", + "windows-sys 0.52.0", +] + [[package]] name = "winapi" version = "0.3.9" diff --git a/src-tauri/Cargo.toml b/src-tauri/Cargo.toml index 0212623..ae32db7 100644 --- a/src-tauri/Cargo.toml +++ b/src-tauri/Cargo.toml @@ -11,7 +11,7 @@ edition = "2021" tauri-build = { version = "1", features = [] } [dependencies] -tauri = { version = "1", features = ["shell-open"] } +tauri = { version = "1", features = ["shell-open", "windows7-compat"] } serde = { version = "1", features = ["derive"] } serde_json = "1"