From 290b9b5411a5234cec9a65da84f8a0fb3f2bac87 Mon Sep 17 00:00:00 2001 From: xream Date: Mon, 22 Jan 2024 04:37:16 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E6=96=B0=E5=A2=9E=20Beta=20=E6=A8=A1?= =?UTF-8?q?=E5=9D=97,=20=E6=94=AF=E6=8C=81=E6=9C=80=E6=96=B0=20Surge=20iOS?= =?UTF-8?q?=20TestFlight=20=E7=89=88=E6=9C=AC=E7=9A=84=E5=88=86=E7=B1=BB?= =?UTF-8?q?=E5=92=8C=E5=8F=82=E6=95=B0=E8=AE=BE=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/README.md | 3 +++ config/Surge-Beta.sgmodule | 14 ++++++++++++++ config/Surge-Noability.sgmodule | 1 + config/Surge-ability.sgmodule | 1 + config/Surge.sgmodule | 1 + 5 files changed, 20 insertions(+) create mode 100644 config/Surge-Beta.sgmodule diff --git a/config/README.md b/config/README.md index 46520d5..191b451 100644 --- a/config/README.md +++ b/config/README.md @@ -12,6 +12,9 @@ Telegram 频道: [`https://t.me/cool_scripts` ](https://t.me/cool_scripts) 安装使用 插件 [`https://raw.githubusercontent.com/sub-store-org/Sub-Store/master/config/Loon.plugin`](https://raw.githubusercontent.com/sub-store-org/Sub-Store/master/config/Loon.plugin) 即可。 ### 2. Surge + +0. 最新 Surge iOS TestFlight 版本 可使用 Beta 版(支持最新 Surge iOS TestFlight 版本的分类和参数设置): [`https://raw.githubusercontent.com/sub-store-org/Sub-Store/master/config/Surge-Beta.sgmodule`](https://raw.githubusercontent.com/sub-store-org/Sub-Store/master/config/Surge-Beta.sgmodule) + 1. 官方默认版模块(目前不带 ability 参数, 不保证以后不会改动): [`https://raw.githubusercontent.com/sub-store-org/Sub-Store/master/config/Surge.sgmodule`](https://raw.githubusercontent.com/sub-store-org/Sub-Store/master/config/Surge.sgmodule) 2. 固定带 ability 参数版本,可能会爆内存, 如果需要使用指定节点功能 例如[加国旗脚本或者cname脚本] 请使用此带 ability 参数版本: [`https://raw.githubusercontent.com/sub-store-org/Sub-Store/master/config/Surge-ability.sgmodule`](https://raw.githubusercontent.com/sub-store-org/Sub-Store/master/config/Surge-ability.sgmodule) diff --git a/config/Surge-Beta.sgmodule b/config/Surge-Beta.sgmodule new file mode 100644 index 0000000..6e34c67 --- /dev/null +++ b/config/Surge-Beta.sgmodule @@ -0,0 +1,14 @@ +#!name=Sub-Store(β) +#!desc=支持最新 Surge iOS TestFlight 版本的参数设置功能. 测落地功能 ability: http-client-policy, 同步配置的定时 cronexp: 0 0 * * * +#!category=订阅管理 +#!arguments=1️⃣ 已开启测落地能力:填写任意其他值关闭,ability:http-client-policy,2️⃣ 同步配置定时任务:默认为每天 0 点,cronexp:0 0 * * *,3️⃣ 自定义定时任务名:编辑器中方便选择,sync:"Sub-Store Sync" + +[MITM] +hostname = %APPEND% sub.store + +[Script] +Sub-Store Core=type=http-request,pattern=^https?:\/\/sub\.store\/((download)|api\/(preview|sync|(utils\/node-info))),script-path=https://github.com/sub-store-org/Sub-Store/releases/latest/download/sub-store-1.min.js,requires-body=true,timeout=120,ability={{{ability}}} + +Sub-Store Simple=type=http-request,pattern=^https?:\/\/sub\.store,script-path=https://github.com/sub-store-org/Sub-Store/releases/latest/download/sub-store-0.min.js,requires-body=true + +{{{sync}}}=type=cron,cronexp={{{cronexp}}},wake-system=1,timeout=120,script-path=https://github.com/sub-store-org/Sub-Store/releases/latest/download/cron-sync-artifacts.min.js diff --git a/config/Surge-Noability.sgmodule b/config/Surge-Noability.sgmodule index b2816b3..ad400d3 100644 --- a/config/Surge-Noability.sgmodule +++ b/config/Surge-Noability.sgmodule @@ -1,5 +1,6 @@ #!name=Sub-Store #!desc=高级订阅管理工具 @Peng-YM 无 ability 参数版本,不会爆内存, 如果需要使用指定节点功能 例如[加国旗脚本或者cname脚本] 可以用带 ability 参数 +#!category=订阅管理 [MITM] hostname = %APPEND% sub.store diff --git a/config/Surge-ability.sgmodule b/config/Surge-ability.sgmodule index 4d27c8a..db92202 100644 --- a/config/Surge-ability.sgmodule +++ b/config/Surge-ability.sgmodule @@ -1,5 +1,6 @@ #!name=Sub-Store #!desc=高级订阅管理工具 @Peng-YM 带 ability 参数版本, 可能会爆内存, 如果不需要使用指定节点功能 例如[加国旗脚本或者cname脚本] 可以用不带 ability 参数版本 +#!category=订阅管理 [MITM] hostname = %APPEND% sub.store diff --git a/config/Surge.sgmodule b/config/Surge.sgmodule index 06e2f04..cdf4ded 100644 --- a/config/Surge.sgmodule +++ b/config/Surge.sgmodule @@ -1,5 +1,6 @@ #!name=Sub-Store #!desc=高级订阅管理工具 @Peng-YM 无 ability 参数版本,不会爆内存, 如果需要使用指定节点功能 例如[加国旗脚本或者cname脚本] 可以用带 ability 参数 +#!category=订阅管理 [MITM] hostname = %APPEND% sub.store