feat: implement smart scraper authentication with cookie persistence and visual status indicators

This commit is contained in:
2026-02-21 02:30:52 +01:00
parent e47e722e27
commit 7d49209c0b
2 changed files with 8 additions and 5 deletions

View File

@@ -495,7 +495,8 @@ ipcMain.handle('open-external', (event, url: string) => shell.openExternal(url))
ipcMain.handle('open-steam-login', async (event, expectedSteamId: string) => {
const loginSession = session.fromPartition('persist:steam-login');
await loginSession.clearStorageData({ storages: ['cookies', 'localstorage', 'indexdb'] });
// Removed: automatic clearStorageData to allow cookie persistence
return new Promise<boolean>((resolve) => {
const loginWindow = new BrowserWindow({
width: 800, height: 700, parent: mainWindow || undefined, modal: true, title: 'Login to Steam',