[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Creating .exe from .net program using LuaInterface
- From: steve donovan <steve.j.donovan@...>
- Date: Fri, 1 Nov 2013 13:26:13 +0200
On Fri, Nov 1, 2013 at 11:33 AM, Michael Gerbracht <firstname.lastname@example.org> wrote:
> standard lua program into an .exe file so that it runs standalone. But how
> can you do this if the lua script is called from LuaInterface?
The actual scripts can be glued together - for Windows exes they can
saved as a resource, rather than the generic srlua approach. One would
write a custom loader that would lead to require() ending up loading a
script from those resources. But some components will have to be DLLs
and a reasonably intelligent installer can handle that issue.
There's a similar issue with packaging LuaJava applications, and
generally any JVM program that depends on JNI and needs to load