mirror of
https://github.com/clash-verge-rev/clash-verge-rev.git
synced 2026-10-18 15:21:05 +08:00
fix(config): remove redundant write that clobbered global hotkey setting
This commit is contained in:
@@ -16,6 +16,7 @@
|
||||
- 修复 Linux 应用内更新问题
|
||||
- 修复 JS 脚本验证因 console 方法调用导致的执行失败问题
|
||||
- 修复 macOS 内存压力下 WebView 渲染进程被系统终止引发的白屏与主进程内存泄漏
|
||||
- 删除覆盖全局热键开关的冗余写入
|
||||
|
||||
<details>
|
||||
<summary><strong> ✨ 新增功能 </strong></summary>
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user