inform user when no updates are found

This commit is contained in:
jane 2021-06-06 00:05:28 -04:00
parent c262e983d4
commit eef823a684

View file

@ -125,9 +125,15 @@ if programToInstall == nil then
finishInstall(files)
end
else
print("getting updates...")
local files = getAllFiles()
if #files == 0 then
print("no updates found.")
else
for _, value in ipairs(files) do
downloadFile(value)
end
finishInstall(files)
end
end