Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- repoUrl = "https://raw.githubusercontent.com/SuperRavenSn1per/Sm1l3y/"
- branch = "main"
- currentDir = fs.getDir(shell.getRunningProgram())
- function install(iFile, fileName)
- content = http.get(repoUrl..branch.."/"..iFile).readAll()
- f = fs.open(fileName, "w")
- f.write(content)
- f.close()
- end
- install("gamefiles", currentDir.."/gamefile")
- shell.run(currentDir.."/gamefile")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement