mirror of
https://github.com/cap153/LANChat.git
synced 2026-12-05 08:00:36 +00:00
系统通知(Closes #5) - 桌面端:Windows PowerShell / Linux notify-send / macOS 原生通知 - Web 端:Notification API - Android 端:tauri-plugin-notification 原生通知 - 通知开关:托盘菜单 CheckMenuItem + DB 持久化(仅桌面端) - Android 通知点击导航(MainActivity.onNewIntent + localStorage) 托盘图标闪烁 - 500ms 间隔交替正常/空白图标(std::thread) - 红点出现/消失时自动启停(updateTrayFlash) - 左键/右键「显示窗口」跳转最新未读 - 多次点击逐个跳转未读用户(消费 pendingNotificationFromId + fallback) Cargo 条件编译优化 - tauri-plugin-single-instance / opener 移入 desktop-only cfg - tauri-plugin-notification 仅 macOS/Android 编译 - reqwest: Android 用 rustls-tls(避免 vendored OpenSSL 交叉编译失败) - tokio/chrono 按需启用特性缩小体积 - 修复 TOML 表格结构导致全部依赖被吞入 cfg 区块的 bug