From cd334d16ec8d0aff2ce2a1b1a8c7ce0e58c0811e Mon Sep 17 00:00:00 2001 From: Stefano Babic Date: Mon, 28 Mar 2022 12:07:15 +0200 Subject: [PATCH] Switch to newer progress API This is required after ff5abf3 in SWUpdate. Signed-off-by: Stefano Babic --- SWUpdateGUI.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/SWUpdateGUI.lua b/SWUpdateGUI.lua index 95a539a..12ccee5 100755 --- a/SWUpdateGUI.lua +++ b/SWUpdateGUI.lua @@ -977,6 +977,8 @@ local progtask = exec.run(function() local ui = require "tek.ui" local sw = require "lua_swupdate" prog = sw:progress() + fd, err = prog:connect() + if not fd then print(err) end exec.sendmsg("*p", "Test") while true do