Script/Surge/Module/TestFlightAccount.sgmodule

14 lines
1.1 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#!name=TestFlight账户管理
#!desc=自动存储/合并多个TestFlight账户列表, 并可导出/分享TestFlight APP.
#!arguments=请求超时:30,列表缓存:0,使用iOS列表:0,调试模式:0
#!arguments-desc=请求超时:单位:秒\n\n列表缓存1/0开启/关闭。用于缓存APP列表改善列表页面加载过慢。一般与"请求超时"配合使用,开启缓存并刷新列表后,可适当调小超时。\n\n使用iOS列表1/0开启/关闭。强制使用iOS应用列表用于改善 macOS TestFlight 加载过慢。iOS用户无需开启。\n\n调试模式1/0开启/关闭。用于调试脚本。
#!category=🐻 NobyDa
[General]
skip-proxy = %APPEND% iosapps.itunes.apple.com
[Script]
TestFlight账户管理 = type=http-request,pattern=^https:\/\/testflight\.apple\.com\/v\d\/(app|account|invite)s\/,requires-body=1,timeout=180,script-path=https://raw.githubusercontent.com/NobyDa/Script/master/TestFlight/TestFlightAccount.js,debug={{{调试模式}}},argument="timeout={{{请求超时}}}&enableCache={{{列表缓存}}}&forceIOSlist={{{使用iOS列表}}}&debug={{{调试模式}}}"
[MITM]
hostname = %APPEND% testflight.apple.com