lime
lime copied to clipboard
Allow running native apps from other directories.
It isn't always safe to assume ./
is the app directory, and removing that assumption opens up options.
Sys.programPath()
requires at least Haxe 3.4, but I don't think Lime supports 3.3 anyway.
Resolves #1284.
Sys.programPath() requires at least Haxe 3.4, but I don't think Lime supports 3.3 anyway.
I'm okay with Haxe 3.4 (or even 3.4.7 specifically) being the minimum requirement for Lime/OpenFL. 3.4.7 is the only Haxe 3 build that we actually test with, as far as I know.
That's what I was thinking. I know some startup files still go through the #if (haxe_ver > 3.3) Sys.programPath() #else ...
rigamarole, but given that we don't actually test it, other parts of the code are probably broken anyway.
Oh, and based on the documentation, Sys.programPath()
was introduced in or before 3.4.2.