移動文件

This commit is contained in:
CrescentLeaf
2025-07-16 22:52:58 +08:00
parent 930a9c6c07
commit 200a867171
27 changed files with 5 additions and 31 deletions

View File

@@ -1,14 +0,0 @@
import io from './lib/io.js'
export default class Config {
static ensureAllDirsAreCreated() {
for (const key of Object.keys(Config.dirs) as Array<keyof typeof Config.dirs>) {
io.mkdirs(Config.dirs[key])
}
}
static BASE_DIR = 'whitesilk_data'
static dirs = {
WEB_PAGE_DIR: this.BASE_DIR + '/_webpage',
DATABASES_DIR: this.BASE_DIR + '/databases',
}
}