From 51091b1d4baa97440a2b5dce4518a4778bf073df Mon Sep 17 00:00:00 2001 From: Layla Manley Date: Sat, 7 Oct 2023 23:06:16 -0400 Subject: [PATCH] iteration --- lupdate.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lupdate.lua b/lupdate.lua index b644989..428df36 100644 --- a/lupdate.lua +++ b/lupdate.lua @@ -9,7 +9,7 @@ end response = http.get("https://gitea.layla.gg/layla/computercraft/raw/branch/main/" .. program_name .. ".lua", nil) if response.getResponseCode() == 200 then - local file = fs.open(program_name .. ".lua", "w") + local file = fs.open("/rom/programs/" .. program_name .. ".lua", "w") file.write(response.readAll()) file.close() print("Updated " .. program_name .. ".lua")