feat: desktop startup auto-update before main app launch

Check server version on launch, download/install/relaunch if newer,
then show the main UI. Manual update check no longer triggers full install.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Macbook
2026-06-14 11:58:54 +09:00
parent d2b8affc57
commit 9a0f3f554b
5 changed files with 210 additions and 14 deletions
+16
View File
@@ -13376,6 +13376,22 @@ html.theme-light .tam-disclaimer { color: #90a4ae; }
.desktop-update-actions {
display: flex; justify-content: flex-end; gap: 8px;
}
.desktop-startup-update {
min-height: 100vh; display: flex; align-items: center; justify-content: center;
padding: 24px; background: var(--bg, #1a1b26);
}
.desktop-startup-update-card {
width: min(440px, 100%); padding: 28px 24px 24px;
border-radius: 16px; border: 1px solid var(--border);
background: var(--bg2, #24283b);
box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}
.desktop-startup-update-title {
margin: 0 0 6px; font-size: 22px; font-weight: 700; text-align: center;
}
.desktop-startup-update-sub {
margin: 0 0 18px; font-size: 13px; color: var(--text2); text-align: center;
}
.app-download-build-note, .app-download-build-wait {
margin: 0 0 12px; font-size: 12px; line-height: 1.5;
}