From 103e0ea17dbca9d2e01cf5f9b960a9f407bc8408 Mon Sep 17 00:00:00 2001 From: Laurie Fisher Date: Fri, 27 Jun 2025 14:29:37 +0100 Subject: [PATCH] test --- startup.lua | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/startup.lua b/startup.lua index 2d27330..6224ab6 100644 --- a/startup.lua +++ b/startup.lua @@ -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