Commit 8b8c8ad
feat: v0.1.8 — smart login state machine, login progress UI, fix profile icons
Login algorithm rewrite:
- Add LoginPhase state machine (Nothing/RcStarting/RcWaitingForApi/RcReady/Authenticated/LeagueRunning)
- detect_login_phase() probes system state so the algorithm knows where to resume
- HTTP login tried first (fast, no window minimize needed), UIA only as fallback
- Up to 3 RC restart attempts with phase-aware skip of completed steps
- RSO session init with 3 targeted retries instead of blocking 10s wait
- Real-time progress events ("Запуск Riot Client...", "Вход в аккаунт...", etc.)
- Frontend shows progress text next to cancel button during login
Auto-accept improvements:
- WS and polling listeners wait for LCU to become available before starting
- Proper LCU disconnect/reconnect handling instead of spamming failed requests
- No more premature force_polling on cold start
Fix profile icon loading:
- Fetch latest Data Dragon version dynamically instead of hardcoded 14.1.1
- New icons from recent patches now load correctly
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent fd7b10c commit 8b8c8ad
8 files changed
Lines changed: 399 additions & 153 deletions
File tree
- src-tauri
- src
- commands
- services
- src/app/accounts
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
0 commit comments