fixed arguments in updater

This commit is contained in:
2024-02-23 16:53:18 +01:00
parent 31b9ca7e8c
commit bc539f13b6

View File

@@ -213,13 +213,13 @@ if #args<1 then
return return
end end
if args == "-h" then if args[1] == "-h" then
print(helpText) print(helpText)
return return
elseif args == "-a" then elseif args[1] == "-a" then
automaticUpdate() automaticUpdate()
return return
elseif args == "-i" then elseif args[1] == "-i" then
automaticUpdate() automaticUpdate()
automaticInstall() automaticInstall()
return return