Skip to content

Commit a02f638

Browse files
committed
[TestFlight] 多账户共存与支持青龙面板的自动加入
1 parent 469b99a commit a02f638

File tree

8 files changed

+1232
-19
lines changed

8 files changed

+1232
-19
lines changed

script/boxjs.json

Lines changed: 122 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -130,9 +130,7 @@
130130
{
131131
"id": "blackmatrix7.bark",
132132
"name": "Bark推送",
133-
"keys": [
134-
"magic_bark_url"
135-
],
133+
"keys": ["magic_bark_url"],
136134
"settings": [
137135
{
138136
"id": "magic_bark_url",
@@ -330,10 +328,7 @@
330328
{
331329
"id": "blackmatrix7.luka",
332330
"name": "Luka阅读养成",
333-
"keys": [
334-
"luka_checkin_cookie",
335-
"luka_signin_auth"
336-
],
331+
"keys": ["luka_checkin_cookie", "luka_signin_auth"],
337332
"author": "@blackmatrix7",
338333
"repo": "https://github.com/blackmatrix7/ios_rule_script/tree/master/script/luka",
339334
"icons": [
@@ -393,7 +388,7 @@
393388
{
394389
"id": "smzdm_signin",
395390
"name": "执行每日签到",
396-
"val": true,
391+
"val": false,
397392
"type": "boolean",
398393
"desc": ""
399394
},
@@ -416,10 +411,7 @@
416411
{
417412
"id": "blackmatrix7.tieba",
418413
"name": "百度贴吧",
419-
"keys": [
420-
"tieba_signin_cookie",
421-
"tieba_sync_qinglong"
422-
],
414+
"keys": ["tieba_signin_cookie", "tieba_sync_qinglong"],
423415
"author": "@blackmatrix7",
424416
"repo": "https://github.com/blackmatrix7/ios_rule_script/tree/master/script/tieba",
425417
"icons": [
@@ -449,12 +441,7 @@
449441
{
450442
"id": "blackmatrix7.synology",
451443
"name": "Synology",
452-
"keys": [
453-
"syno_https_url",
454-
"syno_account",
455-
"syno_passwd",
456-
"syno_sid"
457-
],
444+
"keys": ["syno_https_url", "syno_account", "syno_passwd", "syno_sid"],
458445
"settings": [
459446
{
460447
"id": "syno_https_url",
@@ -548,6 +535,122 @@
548535
"https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/applestore/icon/applestore_dark.png",
549536
"https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/applestore/icon/applestore.png"
550537
]
538+
},
539+
{
540+
"id": "blackmatrix7.testflight",
541+
"name": "TestFlight",
542+
"keys": [
543+
"tf_app_id",
544+
"tf_join_mode",
545+
"tf_loop_count",
546+
"tf_session_info",
547+
"tf_joined_app_id",
548+
"tf_invalid_app_id",
549+
"tf_check_account_id",
550+
"tf_join_concurrency",
551+
"tf_app_use_account_id",
552+
"tf_check_session_time",
553+
"tf_check_session_time_diff"
554+
],
555+
"author": "@blackmatrix7",
556+
"repo": "https://github.com/blackmatrix7/ios_rule_script/tree/master/script/testflight",
557+
"settings": [
558+
{
559+
"id": "tf_sync_qinglong",
560+
"name": "同步数据到青龙面板",
561+
"val": false,
562+
"type": "boolean",
563+
"desc": "将必要数据同步至青龙面板,以执行作业"
564+
},
565+
{
566+
"id": "tf_join_mode",
567+
"name": "执行模式",
568+
"val": "1",
569+
"type": "radios",
570+
"items": [
571+
{
572+
"key": "0",
573+
"label": "温和"
574+
},
575+
{
576+
"key": "1",
577+
"label": "标准"
578+
},
579+
{
580+
"key": "2",
581+
"label": "暴力"
582+
}
583+
],
584+
"desc": "推荐使用温和与标准模式,暴力模式风险极高"
585+
},
586+
{
587+
"id": "tf_app_id",
588+
"name": "TestFlight App愿望清单",
589+
"val": "",
590+
"type": "input",
591+
"placeholder": "",
592+
"autoGrow": true,
593+
"desc": "等待加入的TestFlight APP Id,多个APP Id以;分隔"
594+
},
595+
{
596+
"id": "tf_join_concurrency",
597+
"name": "并发数量",
598+
"val": 2,
599+
"type": "number",
600+
"placeholder": "",
601+
"autoGrow": true,
602+
"desc": "当App的Beta可加入时,每个账户并发多少个请求尝试加入"
603+
},
604+
{
605+
"id": "tf_loop_count",
606+
"name": "每次运行循环次数",
607+
"val": 1,
608+
"type": "number",
609+
"placeholder": "",
610+
"autoGrow": true,
611+
"desc": "每次运行脚本时循环多少次,每次循环间隔800毫秒。NodeJS(非青龙面板)可设置为0,表示持续运行"
612+
},
613+
{
614+
"id": "tf_check_session_time_diff",
615+
"name": "检查Session有效性的间隔",
616+
"val": 7200,
617+
"type": "number",
618+
"placeholder": "",
619+
"autoGrow": true,
620+
"desc": "每间隔多少秒检查一次账户的有效性,默认7200秒"
621+
},
622+
{
623+
"id": "tf_joined_app_id",
624+
"name": "TestFlight每个账户已加入成功的AppId",
625+
"val": "",
626+
"type": "textarea",
627+
"placeholder": "",
628+
"autoGrow": true,
629+
"desc": "多账户的TestFlight已加入的AppId,不建议手动修改"
630+
},
631+
{
632+
"id": "tf_session_info",
633+
"name": "TestFlight Session数据",
634+
"val": "",
635+
"type": "textarea",
636+
"placeholder": "",
637+
"autoGrow": true,
638+
"desc": "多账户的TestFlight数据,仅供查看,请勿手动修改以免引发异常"
639+
},
640+
{
641+
"id": "tf_check_account_id",
642+
"name": "用于检查App Beta可否加入的AccountId",
643+
"val": "",
644+
"type": "input",
645+
"placeholder": "",
646+
"autoGrow": true,
647+
"desc": "选择一个账号专门用于检测TF是否可以加入,以保护主号"
648+
}
649+
],
650+
"icons": [
651+
"https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/testflight/icon/testflight.png",
652+
"https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/testflight/icon/testflight.png"
653+
]
551654
}
552655
]
553-
}
656+
}

0 commit comments

Comments
 (0)