Cleaner Neko init
This commit is contained in:
@@ -85,9 +85,10 @@ class ApplicationMain {
|
||||
#if neko
|
||||
@:noCompletion public static function __init__ () {
|
||||
|
||||
untyped $loader.path = $array (haxe.io.Path.directory (Sys.executablePath ()), $loader.path);
|
||||
untyped $loader.path = $array ("./", $loader.path);
|
||||
untyped $loader.path = $array ("@executable_path/", $loader.path);
|
||||
var loader = new neko.vm.Loader (untyped $loader);
|
||||
loader.addPath (haxe.io.Path.directory (Sys.executablePath ()));
|
||||
loader.addPath ("./");
|
||||
loader.addPath ("@executable_path/");
|
||||
|
||||
}
|
||||
#end
|
||||
|
||||
Reference in New Issue
Block a user