-
Notifications
You must be signed in to change notification settings - Fork 0
/
installer.lua
11 lines (11 loc) · 928 Bytes
/
installer.lua
1
2
3
4
5
6
7
8
9
10
11
local shell = require("shell")
local term = require("term")
term.write("\nInstall Path: ")
local installPath = string.gsub(term.read(), "\n", "") .. "/"
shell.execute("wget https://raw.githubusercontent.com/Elektron72/Cell/master/cd_cell.lua " .. installPath .. "cd_cell.lua")
shell.execute("wget https://raw.githubusercontent.com/Elektron72/Cell/master/cell.lua " .. installPath .. "cell.lua")
shell.execute("wget https://raw.githubusercontent.com/Elektron72/Cell/master/delete_cell.lua " .. installPath .. "delete_cell.lua")
shell.execute("wget https://raw.githubusercontent.com/Elektron72/Cell/master/programs.cfg " .. installPath .. "programs.cfg")
shell.execute("wget https://raw.githubusercontent.com/Elektron72/Cell/master/copy_cell.lua " .. installPath .. "copy_cell.lua")
shell.execute("wget https://raw.githubusercontent.com/Elektron72/Cell/master/rename_cell.lua " .. installPath .. "rename_cell.lua")
print("Done!")