|
|
@@ -38,8 +38,8 @@ async function operator() {
|
|
|
async function operator(proxies = [], targetPlatform, env) {
|
|
|
const $ = $substore
|
|
|
|
|
|
- // 目标代理客户端执行列表,支持 SurgeMac 和 Loon,其他客户端默认跳过
|
|
|
- const targetPlatforms = ['SurgeMac', 'Loon']
|
|
|
+ // 目标代理客户端执行列表,支持 SurgeMac、Loon 和 JSON,其他客户端默认跳过
|
|
|
+ const targetPlatforms = ['SurgeMac', 'Loon', 'JSON']
|
|
|
if (targetPlatform && !targetPlatforms.some(p => p.toLowerCase() === targetPlatform.toLowerCase())) {
|
|
|
$.info(`当前目标客户端为 ${targetPlatform},不在执行列表 [${targetPlatforms.join(', ')}] 中,跳过测活脚本并直接返回节点`)
|
|
|
return proxies
|