From bc539f13b66b8f9db03a96629f32141878c0a8db Mon Sep 17 00:00:00 2001 From: Frederick Meisel Date: Fri, 23 Feb 2024 16:53:18 +0100 Subject: [PATCH] fixed arguments in updater --- updater.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/updater.lua b/updater.lua index f7bcfd7..b1ee1ea 100644 --- a/updater.lua +++ b/updater.lua @@ -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