feat: 仅启用开屏广告

This commit is contained in:
lisonge
2023-12-06 10:17:00 +08:00
parent 5a6df72ad6
commit 303f1f8f38
5 changed files with 9 additions and 36 deletions

View File

@@ -19,6 +19,11 @@ for await (const tsFp of walk(process.cwd() + '/src/apps')) {
)} `,
);
}
appConfig.groups?.forEach((g) => {
if (!g.name.startsWith('开屏广告')) {
g.enable = false;
}
});
apps.push(appConfig);
}