getscript: overwrite file

This commit is contained in:
Buduf 2022-06-30 11:57:26 +02:00
parent 128798cf22
commit 17745c996c

View File

@ -72,10 +72,6 @@ if run then
else
local sFile = tArgs[1] or getFilename(url) or url
local sPath = shell.resolve(sFile)
if fs.exists(sPath) then
print("File already exists")
return
end
local res = get(url)
if not res then return end