Skip to content

Commit 36a6fe7

Browse files
committed
docs: Template
1 parent f0dbddd commit 36a6fe7

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Template.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ https://raw.gitmirror.com/AIsouler/GKD_subscription/main/dist/AIsouler_gkd.json5
2121

2222
当前版本: v--VERSION--
2323

24-
当前订阅文件已适配 --APP_SIZE-- 个 APP, 共有 --GROUP_SIZE-- 规则组
24+
当前订阅文件已适配 --APP_SIZE-- 个应用,共有 --GROUP_SIZE-- 应用规则组,--GLOBALGROUP_SIZE-- 全局规则组
2525

2626
查看 [适配 APP 列表](./AppList.md)
2727

src/file.ts

+1
Original file line numberDiff line numberDiff line change
@@ -690,6 +690,7 @@ export const updateReadMeMd = async (
690690

691691
const mdTemplate = await fs.readFile(process.cwd() + '/Template.md', 'utf-8');
692692
const readMeMdText = mdTemplate
693+
.replaceAll('--APP_SIZE--', newConfig.apps!.length.toString())
693694
.replaceAll(
694695
'--GROUP_SIZE--',
695696
newConfig

0 commit comments

Comments
 (0)