@@ -12,7 +12,6 @@ const rules = [
1212 'RULE-SET,games_cn,直连' ,
1313 'RULE-SET,epicgames,直连' ,
1414 'RULE-SET,nvidia_cn,直连' ,
15- 'RULE-SET,microsoft_cn,直连' ,
1615 'DOMAIN,fsend.cn,直连' ,
1716
1817 // 进程规则
@@ -123,24 +122,6 @@ const baseRuleProviders = {
123122 url : 'https://fastly.jsdelivr.net/gh/MetaCubeX/meta-rules-dat@meta/geo/geoip/google.mrs' ,
124123 path : './ruleset/google_ip.mrs' ,
125124 } ,
126- microsoft : {
127- ...ruleProviderCommonDomain ,
128- ...ruleProviderFormatMrs ,
129- url : 'https://fastly.jsdelivr.net/gh/MetaCubeX/meta-rules-dat@meta/geo/geosite/microsoft.mrs' ,
130- path : './ruleset/microsoft.mrs' ,
131- } ,
132- microsoft_cn : {
133- ...ruleProviderCommonDomain ,
134- ...ruleProviderFormatMrs ,
135- url : 'https://fastly.jsdelivr.net/gh/MetaCubeX/meta-rules-dat@meta/geo/geosite/microsoft@cn.mrs' ,
136- path : './ruleset/microsoft@cn.mrs' ,
137- } ,
138- steam : {
139- ...ruleProviderCommonDomain ,
140- ...ruleProviderFormatMrs ,
141- url : 'https://fastly.jsdelivr.net/gh/MetaCubeX/meta-rules-dat@meta/geo/geosite/steam.mrs' ,
142- path : './ruleset/steam.mrs' ,
143- } ,
144125 games_cn : {
145126 ...ruleProviderCommonDomain ,
146127 ...ruleProviderFormatMrs ,
@@ -252,6 +233,21 @@ const serviceConfigs = [
252233 icon : 'https://fastly.jsdelivr.net/gh/Koolson/Qure@master/IconSet/Color/GitHub.png' ,
253234 rules : [ 'RULE-SET,github,GitHub' ] ,
254235 } ,
236+ {
237+ key : 'microsoft' ,
238+ name : 'Microsoft' ,
239+ proxyMode : 'direct' ,
240+ providers : {
241+ microsoft : {
242+ ...ruleProviderCommonDomain ,
243+ ...ruleProviderFormatMrs ,
244+ url : 'https://fastly.jsdelivr.net/gh/MetaCubeX/meta-rules-dat@meta/geo/geosite/microsoft.mrs' ,
245+ path : './ruleset/microsoft.mrs' ,
246+ } ,
247+ } ,
248+ icon : 'https://fastly.jsdelivr.net/gh/Koolson/Qure@master/IconSet/Color/Microsoft.png' ,
249+ rules : [ 'RULE-SET,microsoft,Microsoft' ] ,
250+ } ,
255251 {
256252 key : 'telegram' ,
257253 name : 'Telegram' ,
@@ -408,6 +404,7 @@ function main(config) {
408404 // 定义分流策略组对应的策略组成员
409405 const proxyModes = {
410406 default : [ '代理' , ...groupNamesOfSelect ] ,
407+ direct : [ '代理' , '直连' , ...groupNamesOfSelect ] ,
411408 reject : [ 'REJECT' , 'REJECT-DROP' , 'PASS' ] ,
412409 } ;
413410
@@ -572,7 +569,6 @@ function main(config) {
572569 'RULE-SET,youtube,代理' ,
573570 'RULE-SET,google,代理' ,
574571 'RULE-SET,google_ip,代理,no-resolve' ,
575- 'RULE-SET,microsoft,代理' ,
576572 'RULE-SET,twitter,代理' ,
577573 'RULE-SET,twitter_ip,代理,no-resolve' ,
578574
0 commit comments