fix(1.0.11): Google login — OAuth popup in clean partition

Series 1.0.1 — 1.0.10 chased wrong hypotheses. Real causes of Google's
/v3/signin/rejected detector on Electron:
  - WebContentsView embedded view shape
  - Explicit session.setProxy({proxyRules}) — Chromium routes CONNECT
    differently than through system proxy
  - Cleaned UA paired with Sec-CH-UA="Chromium" — read as dishonesty
  - DOM injections (chrome.* spoof, fade-overlay)

Fix:
  - accounts.google.com opens in top-level BrowserWindow popup
  - Dedicated persist:google-login partition with no setProxy/setUserAgent
    (inherits Windows system proxy + default UA with honest Electron tag)
  - After login, .google.com/.youtube.com cookies migrate to parent session,
    parent view reloads to pick up logged-in state
  - Removed global UA cleanup — all sessions use default UA now

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-05-17 00:36:49 +03:00
parent 103c2d1e09
commit 779d621dd1
2 changed files with 129 additions and 29 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "ESH-Media",
"version": "1.0.10",
"version": "1.0.11",
"private": true,
"main": "main.js",
"scripts": {