Chore: new way to attach description

This commit is contained in:
SukkaW
2025-07-21 15:57:35 +08:00
parent de1f817eec
commit 3a7f15ca6c
10 changed files with 74 additions and 71 deletions

View File

@@ -12,14 +12,14 @@ export const buildAppleCdn = task(require.main === module, __filename)(async (sp
return new DomainsetOutput(span, 'apple_cdn')
.withTitle('Sukka\'s Ruleset - Apple CDN')
.withDescription([
...SHARED_DESCRIPTION,
.appendDescription(SHARED_DESCRIPTION)
.appendDescription(
'',
'This file contains Apple\'s domains using their China mainland CDN servers.',
'',
'Data from:',
' - https://github.com/felixonmars/dnsmasq-china-list'
])
)
.bulkAddDomainSuffix(res)
.write();
});