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';
|
2022-09-12 00:57:21 +08:00
|
|
|
import { runHeadless } from './headless';
|
2022-09-12 02:21:33 +08:00
|
|
|
import { headlessConfig } from './headless-config';
|
2022-09-12 00:57:21 +08:00
|
|
|
|
|
|
|
void async function main() {
|
2022-09-12 02:21:33 +08:00
|
|
|
AppPaths.Get.setBaseDir(PathUtil.join(__dirname, '../..'));
|
|
|
|
|
|
|
|
runHeadless(headlessConfig);
|
2022-09-12 00:57:21 +08:00
|
|
|
|
|
|
|
LOG_MAJOR('Finished!');
|
|
|
|
}();
|