mirror of https://github.com/NobyDa/Script.git
Add testflight account app list cache
This commit is contained in:
parent
a5e6b059e3
commit
6cac08acaa
|
@ -449,6 +449,19 @@
|
|||
"val": false,
|
||||
"type": "boolean",
|
||||
"desc": "用于调试脚本, 一般用户请勿开启."
|
||||
}, {
|
||||
"id": "@TESTFLIGHT-ACCOUNT.EnableCache",
|
||||
"name": "启用缓存",
|
||||
"val": false,
|
||||
"type": "boolean",
|
||||
"desc": "用于缓存APP列表, 改善列表页面加载过慢,需与\"请求超时\"配合使用。开启缓存并刷新列表后,可适当调小超时"
|
||||
}, {
|
||||
"id": "@TESTFLIGHT-ACCOUNT.Timeout",
|
||||
"name": "请求超时",
|
||||
"val":"",
|
||||
"type": "number",
|
||||
"placeholder": "30",
|
||||
"desc": "默认为30, 单位: 秒"
|
||||
}],
|
||||
"author": "@NobyDa",
|
||||
"repo": "https://github.com/NobyDa/Script/blob/master/TestFlight/TestFlightAccount.js",
|
||||
|
|
|
@ -1,11 +1,13 @@
|
|||
#!name=TestFlight账户管理
|
||||
#!desc=自动存储/合并多个TestFlight账户列表, 并可导出/分享TestFlight APP.
|
||||
#!arguments=请求超时:30,列表缓存:0
|
||||
#!arguments-desc=请求超时:单位秒\n列表缓存:1/0,分别为开启/关闭
|
||||
|
||||
[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=120,script-path=https://raw.githubusercontent.com/NobyDa/Script/master/TestFlight/TestFlightAccount.js
|
||||
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, argument="timeout={{{请求超时}}}&enableCache={{{列表缓存}}}"
|
||||
|
||||
[MITM]
|
||||
hostname = %APPEND% testflight.apple.com
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue