Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- fs.makeDir("/minex")
- for _, name in ipairs({ "main", "files", "renderer", "events", "navigation", "input" }) do
- fs.delete("/minex/" .. name .. ".lua")
- shell.run("wget", "https://raw.githubusercontent.com/ReimarPB/MineExplorer/master/src/" .. name .. ".lua", "/minex/" .. name .. ".lua")
- end
- shell.setAlias("minex", "/minex/main.lua")
- local file = io.open("/startup", "a")
- file:write("\nshell.setAlias(\"minex\", \"/minex/main.lua\")")
- io.close(file)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement