Fix dumb mistake

This commit is contained in:
Kodi Craft 2025-03-25 18:43:41 +01:00
parent bb0ee3e64e
commit 610893222b
Signed by: kodi
GPG Key ID: 69D9EED60B242822

@ -33,12 +33,12 @@ local function main()
shafile.close()
sharequest.close()
end
package.path = package.path .. ";/?;/?.lua" -- hack to solve 'wget run' being dumb
package.path = package.path .. ";/?;/?.lua" -- hack to solve 'wget run'
local hash = require("sha256")
log.info("Downloading index file")
local indexrequest = http.get(URLs.fileIndex)
local index = textutils.unserializeJson(request.readAll())
local index = textutils.unserializeJson(indexrequest.readAll())
indexrequest.close()
if (index == nil) then