game data schema
This commit is contained in:
@@ -13,6 +13,7 @@ function detectType(filepath) {
|
||||
function walk(dir, acc = []) {
|
||||
const entries = fs.readdirSync(dir);
|
||||
for (const entry of entries) {
|
||||
if (entry == "manifest.json") continue;
|
||||
const fullPath = path.join(dir, entry);
|
||||
const relPath = path.relative(basePath, fullPath).replace(/\\/g, "/");
|
||||
const stat = fs.statSync(fullPath);
|
||||
|
||||
Reference in New Issue
Block a user