更新 'clash.js'

This commit is contained in:
vpt 2023-01-18 00:25:39 +08:00
parent 03093ae006
commit 51b1f0f142

View File

@ -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
}