1
0
mirror of https://github.com/Adorable-Catgirl/Zorya-NEO.git synced 2024-11-23 18:58:06 +11:00

what the fuck

This commit is contained in:
Jane Roxanne 2020-03-09 22:54:58 -05:00
parent a246ebcffc
commit 7ea507d2fd
3 changed files with 13 additions and 4 deletions

View File

@ -15,7 +15,6 @@
{name="minitel", cat="net", path="lib/net_minitel.zy2l"}, {name="minitel", cat="net", path="lib/net_minitel.zy2l"},
--{name="vdev", cat="util", path="mods/util_vdev.zy2m"}, --{name="vdev", cat="util", path="mods/util_vdev.zy2m"},
{name="menu", cat="menu", path="mods/menu_classic.zy2m"}, {name="menu", cat="menu", path="mods/menu_classic.zy2m"},
{name="thd", cat="core", path="lib/thd.zy2l"}
--{name="vdevrt", cat="rtmod", path="mods/rtmod_vdevrt.zy2m"}, --{name="vdevrt", cat="rtmod", path="mods/rtmod_vdevrt.zy2m"},
--{name="tsukinet", cat="net", path="mods/net_tsukinet"}, --{name="tsukinet", cat="net", path="mods/net_tsukinet"},
--{name="biosemu", cat="loader", path="mods/loader_biosemu.zy2m", warning="warn_mod_biosemu"}, --{name="biosemu", cat="loader", path="mods/loader_biosemu.zy2m", warning="warn_mod_biosemu"},

View File

@ -18,6 +18,7 @@ function romfs.read(read, seek, close)
local fsize = readint(read, 2) local fsize = readint(read, 2)
local exec = read(1) local exec = read(1)
tbl[#tbl+1] = {name = name, size = fsize, exec = exec == "x", pos = seek(0)} tbl[#tbl+1] = {name = name, size = fsize, exec = exec == "x", pos = seek(0)}
utils.debug_log(nz, name, fsize, exec)
seek(fsize) seek(fsize)
lname = name lname = name
end end

View File

@ -4,9 +4,6 @@ local dat = args[2]
table.remove(args, 1) table.remove(args, 1)
table.remove(args, 1) table.remove(args, 1)
local comp = component or require("component")
local computer = computer or require("computer")
function getfile(path) function getfile(path)
for i=1, #tbl do for i=1, #tbl do
if (tbl[i].name == path) then if (tbl[i].name == path) then
@ -15,6 +12,18 @@ function getfile(path)
end end
end end
if debug.debug then
for i=1, #tbl do
print(tbl[i].name, tbl[i].filesize)
end
print("Zorya NEO Installer")
print("This was made for OpenComputers, and, as such, is not compatible with your system.")
os.exit(0)
end
local comp = component or require("component")
local computer = computer or require("computer")
--[[local baddr = computer.getBootAddress() --[[local baddr = computer.getBootAddress()
local c = comp.proxy(baddr) local c = comp.proxy(baddr)
print("Making directories...") print("Making directories...")