v1.9.11: always check updates on startup + cleanup Gitea releases

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
chrome-storm-c442
2026-03-03 09:27:21 -05:00
parent efbbfa13ee
commit 00f3b76d2a
3 changed files with 5 additions and 2 deletions

View File

@@ -401,12 +401,15 @@ del /f /q "%~f0" >nul 2>&1
return
time.sleep(0.1)
first_run = True
while self._running:
# Check if enough time passed since last check
# On first run after startup, always check regardless of interval
last_check = self.store.get_last_update_check()
now = time.time()
if not last_check or (now - last_check) >= _CHECK_INTERVAL:
if first_run or not last_check or (now - last_check) >= _CHECK_INTERVAL:
first_run = False
info = self.check_now()
if info and self._gui_callback:
mode = self.store.get_update_mode()