Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- This script simply updates the control script to its current verison by downloading it from gist
- local function downloadFiles(url, path)
- for i = 1, 3 do
- local response = http.get(url)
- if response then
- local data = response.readAll()
- if path then
- local f = io.open(path, "w")
- f:write(data)
- f:close()
- end
- return true
- end
- end
- end
- gist_raw_url = "https://gist.githubusercontent.com/Paspartout/5a1eaaf1fa3423a67bf4/raw/brctl.lua"
- downloadFiles(gist_raw_url, "/brctl")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement