iteration
This commit is contained in:
parent
b52af66471
commit
1f24cd18b1
@ -16,7 +16,7 @@ settings.define("lum.log_level", {
|
|||||||
})
|
})
|
||||||
|
|
||||||
function download_lua(remote_path, local_path)
|
function download_lua(remote_path, local_path)
|
||||||
local url = "https://gitea.layla.gg/layla/computercraft/raw/branch/" .. settings.get("lum.target_branch") .. "/" .. remote_path .. ".lua"
|
local url = "https://gitea.layla.gg/layla/computercraft/raw/branch/" .. settings.get("lum.target_branch") .. "/" .. remote_path
|
||||||
if settings.get("lum.log_level") == "debug" then
|
if settings.get("lum.log_level") == "debug" then
|
||||||
io.write("Downloading " .. url .. " to " .. local_path .. "\n")
|
io.write("Downloading " .. url .. " to " .. local_path .. "\n")
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user