Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- delete files
- local function removeFiles(files)
- for _,f in ipairs(files) do
- if fs.exists(f) then
- shell.run("rm " .. f)
- end
- end
- end
- if not fs.exists("github") then
- shell.run("pastebin get wPtGKMam github")
- end
- removeFiles({"lib/item", "lib/objectJSON", "config", "recipesManager", "startup"})
- shell.run("github DaikiKaminari bloodmagic")
- shell.run("mv downloads/bloodmagic/lib/* lib/")
- shell.run("mv downloads/bloodmagic/startup .")
- shell.run("mv downloads/bloodmagic/recipesManager .")
- shell.run("mv downloads/bloodmagic/config .")
- shell.run("startup")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement