更新 'clash.js'
This commit is contained in:
parent
03093ae006
commit
51b1f0f142
2
clash.js
2
clash.js
@ -33,7 +33,7 @@ async function configPrependRules(utils, obj) {
|
||||
|
||||
// 获取代理组的名称
|
||||
function getProxyGroupName(obj) {
|
||||
const nodeSelectName = obj['proxy-groups'].find(item => item.name.includes('节点选择'))
|
||||
const nodeSelectName = obj['proxy-groups'].find(item => ['节点选择','Proxies'].some(name => item.name.includes(name)))
|
||||
if (nodeSelectName) {
|
||||
return nodeSelectName.name
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user