diff --git a/rtmc.lua b/rtmc.lua index 0cbafef..5d039f8 100644 --- a/rtmc.lua +++ b/rtmc.lua @@ -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; diff --git a/src/notifier.lua b/src/notifier.lua index ee23e2a..7ea91b0 100644 --- a/src/notifier.lua +++ b/src/notifier.lua @@ -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 = { diff --git a/src/updater.lua b/src/updater.lua index 75379b0..d634c14 100644 --- a/src/updater.lua +++ b/src/updater.lua @@ -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