From a5b9141e978b62dd44dce5d7e57c4dabca1d5356 Mon Sep 17 00:00:00 2001 From: Hiddify Date: Sat, 24 Feb 2024 19:28:43 +0100 Subject: [PATCH] temporary disable windows service --- Makefile | 2 ++ lib/features/config_option/model/config_option_entity.dart | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 18cf3716..ec906c1c 100644 --- a/Makefile +++ b/Makefile @@ -146,6 +146,8 @@ windows-libs: $(MKDIR) $(DESKTOP_OUT) || echo Folder already exists. Skipping... curl -L $(CORE_URL)/$(CORE_NAME)-windows-amd64.tar.gz | tar xz -C $(DESKTOP_OUT)$(SEP) ls $(DESKTOP_OUT) || dir $(DESKTOP_OUT)$(SEP) + $(RM) $(DESKTOP_OUT)$(SEP)HiddifyService.exe + #temporary disable windows service linux-libs: mkdir -p $(DESKTOP_OUT) diff --git a/lib/features/config_option/model/config_option_entity.dart b/lib/features/config_option/model/config_option_entity.dart index 2df83309..a42858ad 100644 --- a/lib/features/config_option/model/config_option_entity.dart +++ b/lib/features/config_option/model/config_option_entity.dart @@ -173,7 +173,7 @@ class ConfigOptionEntity with _$ConfigOptionEntity { enableClashApi: enableClashApi, clashApiPort: clashApiPort, enableTun: serviceMode == ServiceMode.tun, - enableTunService: serviceMode == ServiceMode.tunService, + enableTunService: false && serviceMode == ServiceMode.tunService, setSystemProxy: serviceMode == ServiceMode.systemProxy, bypassLan: bypassLan, allowConnectionFromLan: allowConnectionFromLan,