mirror of
https://github.com/exogen/t2-mapper.git
synced 2026-07-11 06:24:47 +00:00
remove unnecessary assets, add setting persistence
This commit is contained in:
parent
6ae7a19332
commit
fc4146c824
70 changed files with 180 additions and 18618 deletions
|
|
@ -4,7 +4,7 @@ import { normalizePath } from "@/src/stringUtils";
|
|||
import manifest from "@/public/manifest.json";
|
||||
import path from "node:path";
|
||||
|
||||
const inputBaseDir = "rawGameData/base";
|
||||
const inputBaseDir = process.env.BASE_DIR || "GameData/base";
|
||||
const outputBaseDir = "docs/base";
|
||||
|
||||
const archives = new Map<string, unzipper.CentralDirectory>();
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ import { normalizePath } from "@/src/stringUtils";
|
|||
|
||||
const archiveFilePattern = /\.vl2$/i;
|
||||
|
||||
const baseDir = "rawGameData/base";
|
||||
const baseDir = process.env.BASE_DIR || "GameData/base";
|
||||
|
||||
function isArchive(name: string) {
|
||||
return archiveFilePattern.test(name);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue