From 5c71992174d00628f8e5a3a9ef7ad8d5aab9d1f8 Mon Sep 17 00:00:00 2001 From: chen08209 Date: Sun, 5 May 2024 16:12:00 +0800 Subject: [PATCH] Fix the problem of invalid auto-selection --- core/Clash.Meta | 2 +- core/common.go | 1 + lib/clash/core.dart | 1 - pubspec.yaml | 2 +- 4 files changed, 3 insertions(+), 3 deletions(-) diff --git a/core/Clash.Meta b/core/Clash.Meta index 0096393..7475a82 160000 --- a/core/Clash.Meta +++ b/core/Clash.Meta @@ -1 +1 @@ -Subproject commit 0096393b3a75c2d3c5ef02ec45e6d86fac712b9e +Subproject commit 7475a82936c03816e0ccbd48c7f6be727300cc73 diff --git a/core/common.go b/core/common.go index e00bb11..088d89c 100644 --- a/core/common.go +++ b/core/common.go @@ -121,6 +121,7 @@ func overwriteConfig(targetConfig *config.RawConfig, patchConfig config.RawConfi targetConfig.Tun.Device = patchConfig.Tun.Device targetConfig.Tun.DNSHijack = patchConfig.Tun.DNSHijack targetConfig.Tun.Stack = patchConfig.Tun.Stack + targetConfig.Profile.StoreSelected = false if targetConfig.DNS.Enable == false { targetConfig.DNS = patchConfig.DNS } else { diff --git a/lib/clash/core.dart b/lib/clash/core.dart index ac9c1ec..2dd2d44 100644 --- a/lib/clash/core.dart +++ b/lib/clash/core.dart @@ -5,7 +5,6 @@ import 'dart:io'; import 'dart:isolate'; import 'package:ffi/ffi.dart'; -import 'package:flutter/cupertino.dart'; import '../enum/enum.dart'; import '../models/models.dart'; import '../common/common.dart'; diff --git a/pubspec.yaml b/pubspec.yaml index df92ad5..5f61efc 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.7.8 +version: 0.7.9 environment: sdk: '>=3.1.0 <4.0.0'