diff --git a/src-tauri/Cargo.lock b/src-tauri/Cargo.lock index 7d56637..ac9aa6d 100644 --- a/src-tauri/Cargo.lock +++ b/src-tauri/Cargo.lock @@ -4929,6 +4929,8 @@ dependencies = [ "thiserror 2.0.7", "time", "url", + "win7-notifications", + "windows-version", ] [[package]] @@ -5977,6 +5979,16 @@ version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7219d36b6eac893fa81e84ebe06485e7dcbb616177469b142df14f1f4deb1311" +[[package]] +name = "win7-notifications" +version = "0.4.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "63b4745047a00800bd8f2b8fb4b0eb6f7d96822084127f0ff7d68d07f692fe38" +dependencies = [ + "once_cell", + "windows-sys 0.59.0", +] + [[package]] name = "winapi" version = "0.3.9" diff --git a/src-tauri/Cargo.toml b/src-tauri/Cargo.toml index e5bcc3c..0756c1b 100644 --- a/src-tauri/Cargo.toml +++ b/src-tauri/Cargo.toml @@ -37,7 +37,7 @@ tauri-plugin-single-instance = "2.0" tauri-plugin-process = "2.0" tauri-plugin-autostart = "2.0" tauri-plugin-http = "2.0" -tauri-plugin-notification = "2.0" +tauri-plugin-notification = { version = "2.0", features = ["windows7-compat"] } # window blur window-vibrancy = { version = "0.5.0", optional = true }