Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- drmon installation script
- --
- --
- local libURL = "https://raw.githubusercontent.com/juniorjunior/drmon/master/lib/f.lua"
- local startupURL = "https://raw.githubusercontent.com/juniorjunior/drmon/master/drmon.lua"
- local lib, startup
- local libFile, startupFile
- fs.makeDir("lib")
- lib = http.get(libURL)
- libFile = lib.readAll()
- local file1 = fs.open("lib/f", "w")
- file1.write(libFile)
- file1.close()
- startup = http.get(startupURL)
- startupFile = startup.readAll()
- local file2 = fs.open("startup", "w")
- file2.write(startupFile)
- file2.close()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement