Advertisement
ReimarPB

MineExplorer Installer

Mar 9th, 2023 (edited)
2,359
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.45 KB | None | 0 0
  1. fs.makeDir("/minex")
  2. for _, name in ipairs({ "main", "files", "renderer", "events", "navigation", "input" }) do
  3.     fs.delete("/minex/" .. name .. ".lua")
  4.     shell.run("wget", "https://raw.githubusercontent.com/ReimarPB/MineExplorer/master/src/" .. name .. ".lua", "/minex/" .. name .. ".lua")
  5. end
  6.  
  7. shell.setAlias("minex", "/minex/main.lua")
  8. local file = io.open("/startup", "a")
  9. file:write("\nshell.setAlias(\"minex\", \"/minex/main.lua\")")
  10. io.close(file)
  11.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement