From 20afa0ad223f5b5d4a6ae4bef70a7bd4c2cf5339 Mon Sep 17 00:00:00 2001 From: xream Date: Sun, 20 Aug 2023 17:22:51 +0800 Subject: [PATCH] =?UTF-8?q?Surge=20=E9=BB=98=E8=AE=A4=E6=A8=A1=E5=9D=97?= =?UTF-8?q?=E4=B8=8D=E5=B8=A6=20ability=20=E5=8F=82=E6=95=B0;=20=E5=88=86?= =?UTF-8?q?=E7=A6=BB=E5=87=BA=E5=9B=BA=E5=AE=9A=E5=B8=A6=E5=8F=82=E5=92=8C?= =?UTF-8?q?=E4=B8=8D=E5=B8=A6=E5=8F=82=E7=9A=84=E6=A8=A1=E5=9D=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/Surge-Noability.sgmodule | 2 +- config/Surge-ability.sgmodule | 11 +++++++++++ config/Surge.sgmodule | 7 ++++--- 3 files changed, 16 insertions(+), 4 deletions(-) create mode 100644 config/Surge-ability.sgmodule diff --git a/config/Surge-Noability.sgmodule b/config/Surge-Noability.sgmodule index 970d6b2..b2816b3 100644 --- a/config/Surge-Noability.sgmodule +++ b/config/Surge-Noability.sgmodule @@ -1,5 +1,5 @@ #!name=Sub-Store -#!desc=高级订阅管理工具 @Peng-YM 无 ability 参数版本,不会爆内存, 如果需要使用指定节点功能 例如[加国旗脚本或者cname脚本] 可以用原版 +#!desc=高级订阅管理工具 @Peng-YM 无 ability 参数版本,不会爆内存, 如果需要使用指定节点功能 例如[加国旗脚本或者cname脚本] 可以用带 ability 参数 [MITM] hostname = %APPEND% sub.store diff --git a/config/Surge-ability.sgmodule b/config/Surge-ability.sgmodule new file mode 100644 index 0000000..4d27c8a --- /dev/null +++ b/config/Surge-ability.sgmodule @@ -0,0 +1,11 @@ +#!name=Sub-Store +#!desc=高级订阅管理工具 @Peng-YM 带 ability 参数版本, 可能会爆内存, 如果不需要使用指定节点功能 例如[加国旗脚本或者cname脚本] 可以用不带 ability 参数版本 + +[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=http-client-policy +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 + +Sub-Store Sync=type=cron,cronexp=0 0 * * *,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.sgmodule b/config/Surge.sgmodule index 6452a1a..06e2f04 100644 --- a/config/Surge.sgmodule +++ b/config/Surge.sgmodule @@ -1,10 +1,11 @@ #!name=Sub-Store -#!desc=高级订阅管理工具 @Peng-YM +#!desc=高级订阅管理工具 @Peng-YM 无 ability 参数版本,不会爆内存, 如果需要使用指定节点功能 例如[加国旗脚本或者cname脚本] 可以用带 ability 参数 + [MITM] -hostname=%APPEND% sub.store +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=http-client-policy +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 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 Sub-Store Sync=type=cron,cronexp=0 0 * * *,wake-system=1,timeout=120,script-path=https://github.com/sub-store-org/Sub-Store/releases/latest/download/cron-sync-artifacts.min.js