added entrypoint
This commit is contained in:
12
src/kernel/Entrypoint.hx
Normal file
12
src/kernel/Entrypoint.hx
Normal 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()}');
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user