added entrypoint

This commit is contained in:
2022-12-15 14:19:57 +01:00
parent 621dfb71ca
commit 209e40d0d5
3 changed files with 16 additions and 70 deletions

12
src/kernel/Entrypoint.hx Normal file
View File

@@ -0,0 +1,12 @@
package kernel;
class Entrypoint {
public static function main() {
Init.initKernel();
try {
Startup.main();
}catch(e){
Log.error('Error in startup: ${e.toString()}');
}
}
}