ObjToSchematic/tools/run-headless.ts

13 lines
366 B
TypeScript
Raw Normal View History

2022-09-12 01:04:31 +08:00
import { LOG_MAJOR } from '../src/util/log_util';
2022-09-12 08:07:42 +08:00
import { AppPaths, PathUtil } from '../src/util/path_util';
import { runHeadless } from './headless';
import { headlessConfig } from './headless-config';
void async function main() {
AppPaths.Get.setBaseDir(PathUtil.join(__dirname, '../..'));
runHeadless(headlessConfig);
LOG_MAJOR('Finished!');
}();