10 lines
405 B
TypeScript
10 lines
405 B
TypeScript
import { existsSync } from 'node:fs'
|
|
import { getSharedMountedArchives } from '../src/common/data/data-registry.ts'
|
|
import { createNodeMpqArchiveSource } from '../src/baker/mpq-archive-source.ts'
|
|
import '../tools/lib/node-map-loader.ts'
|
|
|
|
const defaultMpqDir = '/usr/local/google/home/taodao/d2-data'
|
|
if (existsSync(defaultMpqDir)) {
|
|
getSharedMountedArchives(createNodeMpqArchiveSource(defaultMpqDir))
|
|
}
|