Add: Update-Dialog fuer Electron Auto-Updater

- main.js: IPC-Events an Renderer senden wenn Update bereit
- main.js: install-update IPC Handler (quitAndInstall)
- App.tsx: Update-Banner "Neues Update verfuegbar!" mit Restart-Button
- styles.css: Update-Bar Styling passend zum Design-System

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Daniel 2026-03-07 13:53:26 +01:00
parent 06ab7f523b
commit 7ef4eefc55
3 changed files with 52 additions and 1 deletions

View file

@ -226,6 +226,34 @@ html, body {
border-radius: 4px;
}
/* ── Update Banner ── */
.hub-update-bar {
display: flex;
align-items: center;
justify-content: center;
gap: 12px;
padding: 8px 16px;
background: rgba(var(--accent-rgb), 0.15);
border-bottom: 1px solid rgba(var(--accent-rgb), 0.3);
font-size: 13px;
font-weight: 500;
color: var(--accent);
}
.hub-update-bar button {
padding: 4px 14px;
font-size: 12px;
font-weight: 600;
border: none;
border-radius: var(--radius);
background: var(--accent);
color: #fff;
cursor: pointer;
transition: opacity var(--transition);
}
.hub-update-bar button:hover {
opacity: 0.85;
}
/* ── Main Content Area ── */
.hub-content {
flex: 1;