fix(config): remove redundant write that clobbered global hotkey setting

This commit is contained in:
wonfen
2026-07-05 01:10:56 +08:00
parent ac156afc99
commit 49ea0cd5df
2 changed files with 1 additions and 3 deletions
+1
View File
@@ -16,6 +16,7 @@
- 修复 Linux 应用内更新问题
- 修复 JS 脚本验证因 console 方法调用导致的执行失败问题
- 修复 macOS 内存压力下 WebView 渲染进程被系统终止引发的白屏与主进程内存泄漏
- 删除覆盖全局热键开关的冗余写入
<details>
<summary><strong> ✨ 新增功能 </strong></summary>
-3
View File
@@ -210,9 +210,6 @@ async fn process_terminated_flags(update_flags: UpdateFlags, patch: &IVerge) ->
handle::Handle::refresh_clash();
}
if update_flags.contains(UpdateFlags::VERGE_CONFIG) {
Config::verge()
.await
.edit_draft(|d| d.enable_global_hotkey = patch.enable_global_hotkey);
handle::Handle::refresh_verge();
}
if update_flags.contains(UpdateFlags::LAUNCH) {