feat(background): add other in-game backgrouds (1/2)

Co-authored-by: yueqiaocertik <yueqiaocertik@users.noreply.github.com>
This commit is contained in:
Haoyu Xu
2023-01-19 00:22:34 -05:00
parent f067e8f194
commit 5669f78009
9 changed files with 190 additions and 114 deletions

View File

@@ -1,7 +1,9 @@
import path from 'path'
import { mkdir, copy } from './file.js'
import { appendMainConfig } from './append.js'
export default function init(operatorName, __dirname, extractedDir) {
mkdir(extractedDir)
copy(path.join(__dirname, 'config', '_template.yaml'), path.join(__dirname, 'config', `${operatorName}.yaml`))
appendMainConfig(operatorName, __dirname)
}