feat(assets): add base config for new skins and operators, updated available assets

This commit is contained in:
Haoyu Xu
2023-04-30 22:30:06 -04:00
parent 45730c87d4
commit 970d2b89e8
7 changed files with 57 additions and 3 deletions

View File

@@ -11,7 +11,6 @@ export default function init(operatorName, extractedDir) {
})
const date = new Date()
const template = readYAML(path.join(__projectRoot, 'config', '_template.yaml'))
template.link = operatorName
template.date = `${date.getFullYear()}/${(date.getMonth() + 1).toString().padStart(2, '0') }`
writeSync(stringify(template), path.join(__projectRoot, 'config', `${operatorName}.yaml`))
appendMainConfig(operatorName)