ObjToSchematic/tools/run-headless.ts
2022-09-17 12:00:30 +01:00

15 lines
450 B
TypeScript

import { LOG_MAJOR, Logger } from '../src/util/log_util';
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, '../..'));
Logger.Get.enableLogToFile();
Logger.Get.initLogFile('headless');
runHeadless(headlessConfig);
LOG_MAJOR('\nFinished!');
}();