fix(backend): preserve applied state across later failures

This commit is contained in:
Tunglies
2026-10-05 14:14:37 +08:00
parent 045fb42b4d
commit 36a8950129
10 changed files with 141 additions and 186 deletions
+2 -3
View File
@@ -5,7 +5,6 @@ use std::collections::BTreeSet;
pub(super) enum Effect {
RestartCore,
ClashConfig,
VergeConfig,
Autostart,
SystemProxy,
TrayIcon,
@@ -90,8 +89,8 @@ verge_registry! {
web_ui_list => NoEffect;
clash_core => NoEffect;
hotkeys => [Hotkey, TrayMenu];
enable_global_hotkey => [VergeConfig];
home_cards => [VergeConfig];
enable_global_hotkey => NoEffect;
home_cards => NoEffect;
auto_close_connection => NoEffect;
auto_check_update => NoEffect;
default_latency_test => NoEffect;