This commit is contained in:
Laurie Fisher 2025-06-27 14:29:37 +01:00
parent 56f710d49c
commit 103e0ea17d
Signed by: PinkEyedOrphan
GPG Key ID: 7F827B68147AEE76

View File

@ -26,7 +26,10 @@ end
-- Download each file
for _, filename in ipairs(filesToDownload) do
-- remove each file first
fs.remove(filename)
if fs.exists(filename) then
print("Removing existing file: " .. filename)
fs.delete(filename)
end
downloadFile(filename)
end