Add background update checks with configurable interval

Schedule automatic update checks on startup based on elapsed time
since last check. Add interval SpinRow to preferences and show
'Last checked' timestamp on the dashboard updates section.
This commit is contained in:
lashman
2026-02-27 23:52:28 +02:00
parent c50b61fc83
commit c311fb27c3
4 changed files with 89 additions and 0 deletions

View File

@@ -61,6 +61,17 @@
<summary>Auto check updates</summary>
<description>Automatically check for AppImage updates periodically.</description>
</key>
<key name="update-check-interval-hours" type="i">
<range min="1" max="168"/>
<default>24</default>
<summary>Update check interval</summary>
<description>Hours between automatic update checks.</description>
</key>
<key name="last-update-check" type="s">
<default>''</default>
<summary>Last update check timestamp</summary>
<description>ISO timestamp of the last automatic update check.</description>
</key>
<key name="auto-integrate" type="b">
<default>false</default>
<summary>Auto integrate</summary>