diff --git a/package.json b/package.json index 5f3280b..1226470 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "laude", - "version": "0.3.6", + "version": "0.3.7", "description": "Exercise reminder — Windows desktop app", "main": "out/main/index.js", "author": "AnRil", diff --git a/src/main/updater.ts b/src/main/updater.ts index c364e50..2615d78 100644 --- a/src/main/updater.ts +++ b/src/main/updater.ts @@ -7,7 +7,7 @@ let currentStatus: UpdaterStatus = { kind: 'idle' } let wired = false let checkInterval: NodeJS.Timeout | null = null -const CHECK_INTERVAL_MS = 6 * 60 * 60 * 1000 // every 6 hours +const CHECK_INTERVAL_MS = 60 * 60 * 1000 // every hour export function getUpdaterStatus(): UpdaterStatus { return currentStatus diff --git a/src/renderer/src/components/UpdaterCard.tsx b/src/renderer/src/components/UpdaterCard.tsx index a70cc80..0647adb 100644 --- a/src/renderer/src/components/UpdaterCard.tsx +++ b/src/renderer/src/components/UpdaterCard.tsx @@ -187,7 +187,7 @@ function Body({ tone="muted" icon={} title="Проверить обновления" - subtitle="Авто-проверка раз в 6 часов" + subtitle="Авто-проверка раз в час" action={