mirror of
https://gitclone.com/github.com/MetaCubeX/Clash.Meta
synced 2025-05-21 17:38:16 +08:00
Fix: returns the sorted proxy name
This commit is contained in:
parent
74593dad19
commit
965c546336
@ -2,6 +2,7 @@ package adapters
|
||||
|
||||
import (
|
||||
"errors"
|
||||
"sort"
|
||||
|
||||
C "github.com/Dreamacro/clash/constant"
|
||||
)
|
||||
@ -33,6 +34,7 @@ func (s *Selector) All() []string {
|
||||
for k := range s.proxies {
|
||||
all = append(all, k)
|
||||
}
|
||||
sort.Strings(all)
|
||||
return all
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user