#!name=内测管理 #!desc=https://github.com/VirgilClyne TestFlight #!author=VirgilClyne #!category=Third Party Module #!arguments=APPIDS:iRingo.TestFlight,CUSTOM_NAME:会话切换,ENGINE:auto #!arguments-desc=[参数设置]\n▪︎ APPIDS: 指定需要切换的应用ID,多个应用ID用英文逗号分隔,默认变量"iRingo.TestFlight"会话切换;\n▪︎ CUSTOM_NAME: 会话切换脚本启停状态,使用"#"作为注释停止项;\n▪︎ ENGINE: 脚本执行引擎,默认为"auto"自动选择,可选参数"auto ↪︎ jsc ↪︎ webview";\n[使用说明]\n▫︎ iOS端点击TestFlight App右上角"图标"触发会话切换,tvOS端点击TestFlight App中上方"设置"触发会话切换;\n▫︎ ⚠️因Apple调整机制,会话切换成功后需删除后台再次进入TestFlight App完成操作,并且建议间隔五分钟再继续下一次切换操作"连续操作会导致无限重新载入";\n▫︎ 更多使用方法参考 https://github.com/NSRingo/TestFlight [General] skip-proxy = %APPEND% iosapps.itunes.apple.com [Script] {{{CUSTOM_NAME}}} = type=http-request,pattern=https:\/\/testflight\.apple\.com\/v1\/devices$,script-path=https://raw.githubusercontent.com/chavyleung/scripts/master/box/switcher/box.switcher.js,requires-body=1,argument={{{APPIDS}}},script-update-interval=0,timeout=30,engine={{{ENGINE}}} 内测请求 = type=http-request,pattern=^https?:\/\/testflight\.apple\.com\/,requires-body=1, script-path=https://github.com/NSRingo/TestFlight/releases/latest/download/request.js,timeout=60,engine={{{ENGINE}}} 内测回应 = type=http-response,pattern=^https?:\/\/testflight\.apple\.com\/,requires-body=1,script-path=https://github.com/NSRingo/TestFlight/releases/latest/download/response.js,,timeout=60,engine={{{ENGINE}}} [MITM] hostname = %APPEND% testflight.apple.com