From 4a125681bded38cce47a21156a3d2f8792abc7e5 Mon Sep 17 00:00:00 2001 From: wonfen Date: Thu, 8 Oct 2026 11:13:51 +0800 Subject: [PATCH] fix(windows): pin muda fork to prevent tray menu command ID exhaustion --- Cargo.lock | 3 +-- Cargo.toml | 3 +++ Changelog.md | 1 + 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 56333e428..ced8f2827 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4213,8 +4213,7 @@ dependencies = [ [[package]] name = "muda" version = "0.20.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cca139e57da4383727f189e43e66e84fa372347027fc996f9f1a007ec0a37996" +source = "git+https://github.com/wonfen/muda.git?rev=547de49352791653fbdfa785f20f3c7ece8468e2#547de49352791653fbdfa785f20f3c7ece8468e2" dependencies = [ "crossbeam-channel", "dpi", diff --git a/Cargo.toml b/Cargo.toml index faa6e77b9..6c5718cbc 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -47,6 +47,9 @@ codegen-units = 1 split-debuginfo = "unpacked" [patch.crates-io] +# Backport Windows menu command ID recycling on the muda 0.20 compatibility branch. +muda = { git = "https://github.com/wonfen/muda.git", rev = "547de49352791653fbdfa785f20f3c7ece8468e2" } + # macOS Golden Gate fix for tray-icon click reentrancy issue # Remove the following patch once the fix is merged upstream(tauri) # https://github.com/tauri-apps/tray-icon/pull/365 diff --git a/Changelog.md b/Changelog.md index f2033f2d2..139b72ea6 100644 --- a/Changelog.md +++ b/Changelog.md @@ -15,6 +15,7 @@ - 修复 Windows 升级后因文件权限异常无法启动、需要手动清理配置的问题 - 修复 Windows 服务启动类型被改为手动后,软件启动卡住约两分钟的问题,并提供一键修复 +- 修复 Windows 长时间运行后,托盘菜单点击无响应的问题 **🍎 macOS**