From acdcd603c5e1e280ef5ae0ddee37733d888d60e7 Mon Sep 17 00:00:00 2001 From: iKira <4965498+iKira@users.noreply.github.com> Date: Fri, 20 Mar 2026 15:07:00 +0800 Subject: [PATCH] chore: Adapt the `hidden` field for proxy groups (#685) the GUI should not display proxy groups tags where `hidden: true`. --- core/src/main/golang/native/tunnel/proxies.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/core/src/main/golang/native/tunnel/proxies.go b/core/src/main/golang/native/tunnel/proxies.go index 83ad15ec..3357d504 100644 --- a/core/src/main/golang/native/tunnel/proxies.go +++ b/core/src/main/golang/native/tunnel/proxies.go @@ -68,8 +68,11 @@ func QueryProxyGroupNames(excludeNotSelectable bool) []string { } for _, p := range proxies { - if _, ok := p.Adapter().(outboundgroup.ProxyGroup); ok { + if g, ok := p.Adapter().(outboundgroup.ProxyGroup); ok { if !excludeNotSelectable || p.Type() == C.Selector { + if g.Hidden() { + continue + } result = append(result, p.Name()) } }