Add: Check-for-Updates Button in Electron App

- Manueller Update-Check per Button im Header
- Modal-Zustaende: checking, downloading, ready, uptodate, error
- IPC: check-for-updates, update-not-available Events
This commit is contained in:
Daniel 2026-03-07 14:27:09 +01:00
parent c2942737bd
commit ce2a26ddeb
4 changed files with 65 additions and 1 deletions

View file

@ -226,6 +226,27 @@ html, body {
border-radius: 4px;
}
/* ── Check for Updates Button ── */
.hub-check-update-btn {
background: none;
border: 1px solid var(--border);
border-radius: var(--radius);
color: var(--text-secondary);
font-size: 14px;
padding: 2px 8px;
cursor: pointer;
transition: all var(--transition);
line-height: 1;
}
.hub-check-update-btn:hover:not(:disabled) {
color: var(--accent);
border-color: var(--accent);
}
.hub-check-update-btn:disabled {
opacity: 0.4;
cursor: default;
}
/* ── Update Modal ── */
.hub-update-overlay {
position: fixed;