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
end
if args == "-h" then
if args[1] == "-h" then
print(helpText)
return
elseif args == "-a" then
elseif args[1] == "-a" then
automaticUpdate()
return
elseif args == "-i" then
elseif args[1] == "-i" then
automaticUpdate()
automaticInstall()
return