Files
OpenRA/interpreters/estrelaeditor.lua
crazybutcher c51fc58014 interpreter stored in settings.ini
interpreter can define which apis to load
added estrelashell interpreter which runs file in shell (has overloaded print/dofile/loadfile with relative file search)
2010-12-19 14:02:27 +00:00

14 lines
470 B
Lua

return {
name = "Estrela Editor",
description = "Estrela Editor as run target (IDE development)",
api = {"wx","baselib"},
fcmdline = function(filepath)
return ide.editorFilename and '"'..ide.editorFilename..'" '..(filepath or "")..' -cfg "singleinstance=false;"' or nil
end,
fprojdir = function(fname)
return fname:GetPath(wx.wxPATH_GET_VOLUME)
end,
fworkdir = function() end, -- better not
capture = false,
nohide = true,
}