-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathinstaller.lua
More file actions
19 lines (17 loc) · 1.14 KB
/
installer.lua
File metadata and controls
19 lines (17 loc) · 1.14 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
local shell = require("shell")
local fs = require("filesystem")
local prefix = "https://raw.githubusercontent.com/AlexCatze/RacoonNet/master/main/"
local comp = require("computer")
local files = {"/bin/chat.lua","/bin/chat_server.lua","/bin/ping.lua","/bin/rnconfig.lua","/bin/routconf.lua","/bin/router.lua","/bin/webserver.lua","/bin/wr.lua","/etc/config/sys.cfg","/etc/lang/ru.router.lang","/lib/opennet.lua","/lib/racoonnet.lua","/lib/rn_modem.lua","/lib/rn_stem.lua","/lib/rn_tunnel.lua",}
shell.execute("wget -f https://pastebin.com/raw/iKzRve2g /lib/forms.lua")
shell.execute("wget -f https://pastebin.com/raw/C5aBuY5e /lib/rainbow.lua")
shell.execute("wget -f https://pastebin.com/raw/nt0j4iXU /lib/stem.lua")
shell.execute("wget -f https://pastebin.com/raw/e5uEpxpZ /lib/sysutils.lua")
shell.execute("wget -f https://pastebin.com/raw/WBH19bBg /boot/05_config.lua")
fs.makeDirectory("/etc/themes/")
shell.execute("wget -f https://pastebin.com/raw/00XsAdhf /etc/themes/standart.thm")
for _,v in pairs(files) do
if not fs.exists(v:match(".*/")) then fs.makeDirectory(v:match(".*/")) end
shell.execute("wget -f "..prefix..v.." "..v)
end
comp.shutdown("true")