Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- tArgs = {}
- print("Updating FishOS!")
- oFile = fs.open("update","w")
- if tArgs[1] == "--alt" then
- master = "https://cdn.rawgit.com/fishermedders/FishOS/master/"
- else
- master = "https://raw.githubusercontent.com/fishermedders/FishOS/master"
- end
- sCont = http.get(master .. "/update.lua").readAll()
- oFile.write(sCont)
- oFile.close()
- shell.run("update")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement