From e9bb97c6cecc550f75ec72e87b24a4d10a101a7d Mon Sep 17 00:00:00 2001 From: chen08209 Date: Thu, 6 Jun 2024 11:13:18 +0800 Subject: [PATCH] Update Version Fix tun unable to open --- core/common.go | 1 - lib/models/clash_config.dart | 2 +- pubspec.yaml | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/core/common.go b/core/common.go index 745e2b4..bc4cebc 100644 --- a/core/common.go +++ b/core/common.go @@ -353,7 +353,6 @@ func overwriteConfig(targetConfig *config.RawConfig, patchConfig config.RawConfi targetConfig.RuleProvider = make(map[string]map[string]any) generateProxyGroupAndRule(&targetConfig.ProxyGroup, &targetConfig.Rule) } - } func patchConfig(general *config.General) { diff --git a/lib/models/clash_config.dart b/lib/models/clash_config.dart index 7583d4f..e7d0def 100644 --- a/lib/models/clash_config.dart +++ b/lib/models/clash_config.dart @@ -16,7 +16,7 @@ class Tun with _$Tun { const factory Tun({ @Default(false) bool enable, @Default(appName) String device, - @Default(TunStack.gvisor) TunStack stack, + @Default(TunStack.mixed) TunStack stack, @JsonKey(name: "dns-hijack") @Default(["any:53"]) List dnsHijack, }) = _Tun; diff --git a/pubspec.yaml b/pubspec.yaml index 052f6b2..68c3f50 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,7 +1,7 @@ name: fl_clash description: A multi-platform proxy client based on ClashMeta, simple and easy to use, open-source and ad-free. publish_to: 'none' -version: 0.8.13 +version: 0.8.14 environment: sdk: '>=3.1.0 <4.0.0'