From 610893222b87fcb4d6786e36319cb1628a687423 Mon Sep 17 00:00:00 2001 From: Kodi Craft Date: Tue, 25 Mar 2025 18:43:41 +0100 Subject: [PATCH] Fix dumb mistake --- install.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install.lua b/install.lua index 5eff616..b8af1f5 100644 --- a/install.lua +++ b/install.lua @@ -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