From b4ccfc7e07c91d5290c8760bc757f2c61efccf9f Mon Sep 17 00:00:00 2001 From: xream Date: Tue, 19 Mar 2024 23:48:26 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20Sub-Store=20Simple=20=E8=84=9A?= =?UTF-8?q?=E6=9C=AC=E5=A2=9E=E5=8A=A0=E8=84=9A=E6=9C=AC=E8=B6=85=E6=97=B6?= =?UTF-8?q?(=E9=BB=98=E8=AE=A4=20120)=20=E5=8F=AF=E8=83=BD=E4=BC=9A?= =?UTF-8?q?=E5=BD=B1=E5=93=8D=E6=9F=90=E4=BA=9B=E9=80=BB=E8=BE=91=20?= =?UTF-8?q?=E5=BE=85=E8=A7=82=E5=AF=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/Loon.plugin | 2 +- config/Surge-Beta.sgmodule | 2 +- config/Surge-Noability.sgmodule | 2 +- config/Surge-ability.sgmodule | 2 +- config/Surge.sgmodule | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/config/Loon.plugin b/config/Loon.plugin index 89acab0..071540c 100644 --- a/config/Loon.plugin +++ b/config/Loon.plugin @@ -17,4 +17,4 @@ hostname=sub.store http-request ^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, tag=Sub-Store Core http-request ^https?:\/\/sub\.store script-path=https://github.com/sub-store-org/Sub-Store/releases/latest/download/sub-store-0.min.js, requires-body=true, timeout=120, tag=Sub-Store Simple -cron "55 23 * * *" script-path=https://github.com/sub-store-org/Sub-Store/releases/latest/download/cron-sync-artifacts.min.js, tag=Sub-Store Sync \ No newline at end of file +cron "55 23 * * *" script-path=https://github.com/sub-store-org/Sub-Store/releases/latest/download/cron-sync-artifacts.min.js, timeout=120, tag=Sub-Store Sync \ No newline at end of file diff --git a/config/Surge-Beta.sgmodule b/config/Surge-Beta.sgmodule index b858b24..5140b58 100644 --- a/config/Surge-Beta.sgmodule +++ b/config/Surge-Beta.sgmodule @@ -10,6 +10,6 @@ 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 +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,timeout=120 {{{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 4e35d3e..84d37d6 100644 --- a/config/Surge-Noability.sgmodule +++ b/config/Surge-Noability.sgmodule @@ -8,6 +8,6 @@ hostname = %APPEND% sub.store [Script] # 主程序 已经去掉 Sub-Store Core 的参数 [,ability=http-client-policy] 不会爆内存,这个参数在 Surge 非常占用内存; 如果不需要使用指定节点功能 例如[加旗帜脚本或者cname脚本] 则可以使用此脚本 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 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,timeout=120 Sub-Store Sync=type=cron,cronexp=55 23 * * *,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-ability.sgmodule b/config/Surge-ability.sgmodule index 6ced166..8383eab 100644 --- a/config/Surge-ability.sgmodule +++ b/config/Surge-ability.sgmodule @@ -7,6 +7,6 @@ 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 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,timeout=120 Sub-Store Sync=type=cron,cronexp=55 23 * * *,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 ed4b2c2..ddfe6c8 100644 --- a/config/Surge.sgmodule +++ b/config/Surge.sgmodule @@ -7,6 +7,6 @@ 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 -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 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,timeout=120 Sub-Store Sync=type=cron,cronexp=55 23 * * *,wake-system=1,timeout=120,script-path=https://github.com/sub-store-org/Sub-Store/releases/latest/download/cron-sync-artifacts.min.js