feat: Modify startup logic and install services by default

This commit is contained in:
huzibaca
2024-10-10 00:34:36 +08:00
parent 35f5e4ca41
commit 9b2b447b8b
12 changed files with 126 additions and 436 deletions

View File

@@ -177,11 +177,6 @@ pub async fn patch_verge(patch: IVerge) -> Result<()> {
let mut should_update_sysproxy = false;
let mut should_update_systray_part = false;
let service_mode = patch.enable_service_mode;
if service_mode.is_some() {
should_restart_core = true;
}
if tun_mode.is_some() {
should_update_clash_config = true;
}