This commit is contained in:
Igor Timofeev
2017-01-15 00:47:48 +03:00
parent 50f3a2d58d
commit 12178056bf
3 changed files with 2 additions and 2 deletions

View File

@@ -1181,7 +1181,7 @@ function ecs.newFile(path)
fs.makeDirectory(path)
local file = io.open(path .. inputs[1], "w"); file:write(""); file:close()
local MineOSCore = require("MineOSCore")
MineOSCore.safeLaunch(MineOSCore.paths.applications .. "/MineCode IDE.app/MineCode IDE.lua", "open", path)
MineOSCore.safeLaunch(MineOSCore.paths.applications .. "/MineCode IDE.app/MineCode IDE.lua", "open", path .. inputs[1])
end
end