feat: add rank progress tracker and rank distribution popup
Build and Release / build-and-release (push) Failing after 3m58s

This commit is contained in:
2026-04-04 09:24:01 -07:00
parent 3fa3acc36f
commit 193530c03e
3 changed files with 190 additions and 7 deletions
+5 -2
View File
@@ -6,7 +6,7 @@ import type { UserscriptInstance } from './userscripts';
import { initTranslator, updateTranslatorConfig } from './translator';
import { setDeathAnimBlock, setCleanerMenu, setMenuTimer, escapeHtml } from './utils';
import { initChat, setBetterChat, setChatHistorySize } from './chat';
import { initHPCounter, destroyHPCounter } from './competitive';
import { initHPCounter, destroyHPCounter, initRankProgress } from './competitive';
import { checkChangelog } from './changelog';
import type { Keybind } from '../main/config';
@@ -1675,10 +1675,13 @@ ipcRenderer.on('main_did-finish-load', () => {
}, _console);
}
// ── Hardpoint enemy counter ──
// ── Competitive features ──
if (isGamePage && (gameConf?.hpEnemyCounter ?? true)) {
initHPCounter();
}
if (isGamePage) {
initRankProgress();
}
// ── CPU throttle state notifications ──
if (isGamePage) {