更新 'clash.js'
This commit is contained in:
		
							
								
								
									
										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
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user