From 36a6fe766607c35609ba6ad0e72a671876f41d7c Mon Sep 17 00:00:00 2001 From: AIsouler Date: Sat, 16 Mar 2024 21:46:32 +0800 Subject: [PATCH] docs: Template --- Template.md | 2 +- src/file.ts | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Template.md b/Template.md index e9b6232d..a8920189 100644 --- a/Template.md +++ b/Template.md @@ -21,7 +21,7 @@ https://raw.gitmirror.com/AIsouler/GKD_subscription/main/dist/AIsouler_gkd.json5 当前版本: v--VERSION-- -当前订阅文件已适配 --APP_SIZE-- 个 APP, 共有 --GROUP_SIZE-- 规则组 +当前订阅文件已适配 --APP_SIZE-- 个应用,共有 --GROUP_SIZE-- 应用规则组,--GLOBALGROUP_SIZE-- 全局规则组 查看 [适配 APP 列表](./AppList.md) diff --git a/src/file.ts b/src/file.ts index 1f3e05a8..e46446a3 100644 --- a/src/file.ts +++ b/src/file.ts @@ -690,6 +690,7 @@ export const updateReadMeMd = async ( const mdTemplate = await fs.readFile(process.cwd() + '/Template.md', 'utf-8'); const readMeMdText = mdTemplate + .replaceAll('--APP_SIZE--', newConfig.apps!.length.toString()) .replaceAll( '--GROUP_SIZE--', newConfig