Files
OpenRA/tools/luxviewres.lua
2008-09-03 18:54:59 +00:00

15 lines
399 B
Lua

return {
exec = {
name = "Luxinia Viewer",
description = "sends current file to luxinia viewer",
fn = function(wxfname,projectdir)
local endstr = projectdir and projectdir:len()>0
and " -p "..projectdir or ""
local cmd = ide.config.path.luxinia.."luxinia.exe --nologo"..endstr
cmd = cmd.." -v "..wxfname:GetFullPath()
RunCommandLine(cmd)
end,
},
}