This commit is contained in:
Gvidas Juknevičius 2024-08-25 23:21:31 +03:00
parent 51b6b7fc95
commit ffa88f010c
Signed by: MCorange
GPG Key ID: 12B1346D720B7FBB
3 changed files with 3 additions and 3 deletions

View File

@ -427,7 +427,7 @@ rawset(__BUNDLER_FILES, "updater", function ()
fd.write(body);
fd.close();
local notif = "Computer #" .. tostring( os.getComputerID() ) .. " updating";
notifier.notify("urgent", notif);
notifier.notify("5", notif);
log.debug("New update written to disk (" .. path .. ")");
end
return updater;

View File

@ -3,7 +3,7 @@
local notifier = {};
notifier.__index = notifier;
--- @param priority "max"|"urgent"|"high"|"default"|"low"|"min"
--- @param priority "1"|"2"|"3"|"4"|"5"
--- @param body string
function notifier.notify(priority, body)
local headers = {

View File

@ -116,7 +116,7 @@ function updater:update(path, url)
fd.close();
local notif = "Computer #" .. tostring( os.getComputerID() ) .. " updating";
notifier.notify("urgent", notif);
notifier.notify("5", notif);
log.debug("New update written to disk (" .. path .. ")");
end