Advertisement
MR_Spagetty

JSG RRS installer installer

Dec 27th, 2022 (edited)
1,028
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.99 KB | Gaming | 0 0
  1. local shell = require("shell")
  2. local fs = require("filesystem")
  3. fs.makeDirectory("/RRS")
  4. shell.execute("wget https://raw.githubusercontent.com/MR-Spagetty/AUNIS-rings-relay/main/rrsInstaller.lua /RRS/rrsInstaller.lua")
  5. local baseVersionsFile = [[
  6. local versions = {
  7.     ringsRelay = {
  8.         version = 0,
  9.         link = "https://raw.githubusercontent.com/MR-Spagetty/AUNIS-rings-relay/main/ringsRelay.lua"
  10.     },
  11.     config = {
  12.         version = 0,
  13.         link = "https://raw.githubusercontent.com/MR-Spagetty/AUNIS-rings-relay/main/config.lua"
  14.     },
  15.     route = {
  16.         version = 0,
  17.         link = "https://raw.githubusercontent.com/MR-Spagetty/AUNIS-rings-relay/main/route.lua"
  18.     },
  19.     moreTable = {
  20.         version = 0,
  21.         link = "https://raw.githubusercontent.com/MR-Spagetty/AUNIS-rings-relay/main/moreTable.lua"
  22.     }
  23. }
  24. return versions
  25. ]]
  26. local file = io.open("/RRS/rrsVersions.lua", "w")
  27. file:write(baseVersionsFile)
  28. file:close()
  29. shell.execute("/RRS/rrsInstaller")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement