v2.4.8: UI improvements, update popup fixes, per-profile branch tracking

- Fix auto-update popup: indeterminate progress fallback when no download events, show 100% on complete
- Remove macOS auto-update warning (app is now signed)
- Disable update popup pulse animation
- Remove news tab and news section from home screen
- Center play section vertically, add community links with colored icons
- Add game version + branch display on play page (from manifest)
- Add last played timestamp tracking
- Version badge links to git.sanhost.net releases
- Profiles now store version_branch and version_client per-configuration
- Profile switch restores branch/version and refreshes settings UI
- DevTools enabled in dev mode (electron . --dev)
- Reorder community links: Chat, Discord, TG Channel, TG Group, Source

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
sanasol
2026-02-28 21:47:23 +01:00
parent fcf041be39
commit 57056e5b7a
11 changed files with 337 additions and 146 deletions

View File

@@ -646,12 +646,18 @@ body {
}
#play-page {
display: flex;
flex-direction: column;
}
.play-section {
padding: 2rem;
display: flex;
justify-content: center;
align-items: center;
min-height: 200px;
flex: 1;
min-height: 0;
}
.play-content {
@@ -663,6 +669,62 @@ body {
margin-bottom: 2rem;
}
.game-info-bar {
display: flex;
justify-content: center;
align-items: center;
gap: 0.5rem;
margin-top: 1.25rem;
font-size: 0.75rem;
font-family: 'JetBrains Mono', monospace;
color: #6b7280;
}
.game-info-item {
display: flex;
align-items: center;
gap: 0.3rem;
}
.game-info-loading {
opacity: 0.4;
}
.game-info-sep {
width: 3px;
height: 3px;
border-radius: 50%;
background: #4b5563;
}
.community-links {
display: flex;
justify-content: center;
align-items: center;
gap: 0.75rem;
margin-top: 1.5rem;
}
.community-link {
display: flex;
align-items: center;
gap: 0.4rem;
padding: 0.4rem 0.75rem;
color: #9ca3af;
text-decoration: none;
font-size: 0.8rem;
border: 1px solid rgba(255, 255, 255, 0.08);
border-radius: 6px;
background: rgba(255, 255, 255, 0.03);
transition: all 0.2s ease;
}
.community-link:hover {
color: #e2e8f0;
border-color: rgba(147, 51, 234, 0.4);
background: rgba(147, 51, 234, 0.1);
}
.play-title {
font-size: 2rem;
font-weight: 700;
@@ -5260,19 +5322,15 @@ select.settings-input option {
}
.update-popup-pulse {
animation: updatePulse 2s ease-in-out infinite !important;
}
@keyframes updatePulse {
0%,
100% {
transform: scale(1);
@keyframes indeterminateProgress {
0% {
opacity: 0.4;
}
50% {
transform: scale(1.02);
opacity: 0.8;
}
100% {
opacity: 0.4;
}
}