fix(nix-monitor): add back checking update notification

This commit is contained in:
avivbintangaringga
2026-07-15 22:56:56 +07:00
parent a1d9a0c4bb
commit 04ad49cf45
+4
View File
@@ -102,6 +102,10 @@ function checkRemoteHash(delay: number?)
setState("isRemoteCheckRunning", true)
setState("lastRemoteCheckRunTime", os.time())
if cfg("show_checking_notification") then
noctalia.notify(tr("notification.checking_update"))
end
noctalia.writeFile(remoteHashFile, "")
noctalia.runAsync(`sleep {delay} && {remoteHashCmd} > {remoteHashFile} & echo $! > {remotePidFile}`)
end