made system use full salt+pepper

This commit is contained in:
2026-03-19 14:10:17 -04:00
parent 055dd4e606
commit df62414229
4 changed files with 9 additions and 11 deletions

View File

@@ -6,10 +6,11 @@ local install,releasename=function()end,""
local exitall=false
local function download(url)
shell.run("wget "..url.." /tmp/download")
local lib = require("tmp.download")
fs.delete("/tmp/download")
return lib
local data,err=http.get(url)
if not data then error(err) end
local func,err=load(data.readAll(),"@download","t",_ENV)
if not func then error(err) end
return func()
end
print("Installing JSON...")