mirror of
https://github.com/airstruck/luigi.git
synced 2026-01-09 15:58:22 +00:00
Launcher for the LuaJIT backend.
Looks for main.lua. Launch it like this:
luajit myapp/lib/luigi/launch.lua
If luigi isn't inside the project directory, pass
the path containing main.lua as the second argument.
The path must end with a directory separator.
luajit /opt/luigi/launch.lua ./myapp/
If the app prefixes luigi modules with something
other then 'luigi', pass that prefix as the third
argument.
luajit /opt/luigi/launch.lua ./myapp/ lib.luigi
This commit is contained in:
@@ -103,5 +103,5 @@ end)
|
||||
-- show the main layout
|
||||
layout:show()
|
||||
|
||||
-- only needed when using LuaJIT/SDL
|
||||
Backend.run()
|
||||
-- only needed when using LuaJIT/SDL and not using launch.lua
|
||||
-- Backend.run()
|
||||
|
||||
Reference in New Issue
Block a user