Note in comment why hack
[skip ci]
This commit is contained in:
@@ -130,6 +130,8 @@ class ApplicationMain {
|
|||||||
#if neko
|
#if neko
|
||||||
@:noCompletion @:dox(hide) public static function __init__ () {
|
@:noCompletion @:dox(hide) public static function __init__ () {
|
||||||
|
|
||||||
|
// Copy from https://github.com/HaxeFoundation/haxe/blob/development/std/neko/_std/Sys.hx#L164
|
||||||
|
// since Sys.programPath () isn't available in __init__
|
||||||
var sys_program_path = {
|
var sys_program_path = {
|
||||||
var m = neko.vm.Module.local().name;
|
var m = neko.vm.Module.local().name;
|
||||||
try {
|
try {
|
||||||
|
|||||||
Reference in New Issue
Block a user