我看action/run里面折腾了那么久,结果我要在当前目录下运行,还得自定义一个脚本
on_run(function (target)
import("core.base.option")
import("devel.debugger")
local targetfile = path.absolute(target:targetfile())
if option.get("debug") then
debugger.run(targetfile, option.get("arguments"))
else
os.execv(targetfile, option.get("arguments"))
end
end)
我看action/run里面折腾了那么久,结果我要在当前目录下运行,还得自定义一个脚本