fix(nix-monitor): add check time state to local check

This commit is contained in:
avivbintangaringga
2026-07-15 10:59:00 +07:00
parent 01ed4efa5a
commit f921cc112e
+1
View File
@@ -65,6 +65,7 @@ noctalia.writeFile(remoteHashFile, "")
-- Local check -- Local check
function checkLocalHash() function checkLocalHash()
setState("lastLocalCheckTime", os.time())
noctalia.runAsync(localHashCmd, function(res) noctalia.runAsync(localHashCmd, function(res)
if res.exitCode == 0 then if res.exitCode == 0 then
setState("localHash", res.stdout) setState("localHash", res.stdout)