From 2373281c4122726b08af6f6ece56c0319d14dd0d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=96=E7=95=8C?= Date: Tue, 13 Sep 2022 17:34:29 +0800 Subject: [PATCH] Fix clash store-selected --- experimental/clashapi/server.go | 1 + 1 file changed, 1 insertion(+) diff --git a/experimental/clashapi/server.go b/experimental/clashapi/server.go index c209a1ae..6e11b149 100644 --- a/experimental/clashapi/server.go +++ b/experimental/clashapi/server.go @@ -61,6 +61,7 @@ func NewServer(router adapter.Router, logFactory log.ObservableFactory, options server.mode = "rule" } if options.StoreSelected { + server.storeSelected = true cachePath := os.ExpandEnv(options.CacheFile) if cachePath == "" { cachePath = "cache.db"