fix merge bug

This commit is contained in:
sijinhui
2024-07-16 18:42:04 +08:00
parent 946c3b67f6
commit e94e2b7c96
12 changed files with 158 additions and 97 deletions

View File

@@ -1,5 +1,6 @@
import fs from "fs";
import path from "path";
import { fileURLToPath } from 'url';
import { CN_MASKS } from "./cn";
// import { TW_MASKS } from "./tw";
import { EN_MASKS } from "./en";
@@ -12,6 +13,8 @@ const BUILTIN_MASKS: Record<string, BuiltinMask[]> = {
en: EN_MASKS,
};
const __filename = fileURLToPath(import.meta.url);
const dirname = path.dirname(__filename);
fs.writeFile(