iteration

This commit is contained in:
2023-10-08 00:19:55 -04:00
parent 7fcae7b276
commit 627dc1ac68
3 changed files with 138 additions and 6 deletions

View File

@@ -19,12 +19,6 @@ if response.getResponseCode() == 200 then
file.write(response.readAll())
file.close()
-- check if program is in path
if not shell.resolveProgram(program_name) then
io.write("Program not in path, adding to path\n")
shell.setPath(shell.path() .. ":" .. bin_path)
end
io.write("Updated " .. program_name .. ".lua\n")
else
io.write("Failed to update " .. program_name .. ".lua\n")