feat(proxy): enhance proxy group handling and sorting logic
This commit is contained in:
committed by
Leif Draven
parent
979e39b9e5
commit
97024dd1df
@@ -45,7 +45,7 @@ func (c *Clash) Build(uuid string) ([]byte, error) {
|
||||
})
|
||||
}
|
||||
rawConfig.ProxyGroups = groups
|
||||
rawConfig.Rules = append(c.Rules, "MATCH,手动选择")
|
||||
rawConfig.Rules = append(c.Rules, fmt.Sprintf("MATCH,%s", c.Default))
|
||||
return yaml.Marshal(&rawConfig)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user