nitro-imager/src/main.ts
2021-09-09 03:14:44 -04:00

23 lines
342 B
TypeScript

import { Application } from './app';
import { NitroCore } from './core';
const core = new NitroCore();
const instance = new Application(core);
async function init(): Promise<void>
{
try
{
await instance.init();
}
catch(err)
{
console.error(err.message || err);
core.dispose();
}
}
init();