refactor: remove dead exports, unused params, and stale config

This commit is contained in:
2026-04-04 13:36:46 -07:00
parent 2a4ca6f37e
commit 0dfe919d4f
6 changed files with 16 additions and 58 deletions
+2 -2
View File
@@ -551,7 +551,7 @@ async function launchApp(): Promise<void> {
const ALLOWED_CONFIG_KEYS = new Set<string>([
'window', 'performance', 'game', 'swapper', 'matchmaker',
'keybinds', 'userscripts', 'ui', 'discord', 'translator',
'advanced', 'accounts', 'tabWindow', 'platform',
'advanced', 'accounts', 'tabWindow',
]);
ipcMain.handle('get-version', () => appVersion);
@@ -745,7 +745,7 @@ async function launchApp(): Promise<void> {
// ── Action button IPC handlers ──
ipcMain.handle('open-electron-log', () => {
shell.openPath(getLogPath('electron'));
shell.openPath(getLogPath());
});
ipcMain.handle('reset-swapper', async () => {
try {