test
This commit is contained in:
parent
f66d138c12
commit
56f710d49c
@ -25,11 +25,9 @@ end
|
|||||||
|
|
||||||
-- Download each file
|
-- Download each file
|
||||||
for _, filename in ipairs(filesToDownload) do
|
for _, filename in ipairs(filesToDownload) do
|
||||||
if not fs.exists(filename) then
|
-- remove each file first
|
||||||
|
fs.remove(filename)
|
||||||
downloadFile(filename)
|
downloadFile(filename)
|
||||||
else
|
|
||||||
print(filename .. " already exists, skipping download.")
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
|
|
||||||
local behavior = require("behavior")
|
local behavior = require("behavior")
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user