2023-02-11 08:53:27 +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
|
|
|
|
2022-09-17 02:18:36 +08:00
|
|
|
LOG_MAJOR('\nFinished!');
|
2022-09-12 00:57:21 +08:00
|
|
|
}();
|