NC firmware update (thanks spsf). opencomputers now uses mutiple gpus to speed up rendering and now has net drivers. currently working on kernel memory protections to prevent malicious kernel drivers. spm does not work on opencomputers, this is a known issue i am working on fixing it :D sorry for the slow development.

This commit is contained in:
Astronand committed 2026-11-04 14:19:15 -05:00
1 parent fbaafc7cff
commit ef4b856ee6
89 files changed
+3955 -563

No files matched your search

+10 -5
View File
@@ -238,8 +238,8 @@ local spm = function(...)
if resp.code ~= 200 then
return false
end
local repojson = json.decode(resp.body)
if not repojson then
local ok, repojson = pcall(json.decode,resp.body)
if not repojson or not ok then
return false
end
return true, repojson
@@ -604,9 +604,12 @@ local spm = function(...)
syscall.exit()
end
local f=ptar(repotar, v)
if not f or not f.data then syscall.exit() end
if not cloptions.s then
f.data=mini(f.data)
if not f then syscall.exit() end
if f.data then
if not cloptions.s then
f.data=mini(f.data)
end
else f.data={}
end
f.hash=v.hash
files[v.id]=f
@@ -710,6 +713,8 @@ local spm = function(...)
if f=="symlinks.json" then
local symlinks=json.decode(c)
for src,dest in pairs(symlinks) do
if src:sub(1,1)=="/" then src=src:sub(2) end
if dest:sub(1,1)=="/" then dest=dest:sub(2) end
if syscall.exists(src) then
if syscall.type(src)~="symlink" then
if not v.data[src] then