Commit Graph
7 Commits
Author SHA1 Message Date
chaos 7a02453601 Fix Xvfb headed Turnstile path for headless servers
- start.sh: never inject empty DISPLAY= into xvfb-run children
  (was forcing Python headless and killing Turnstile)
- headed Chromium uses base flags only; headless-only flags
  (disable-software-rasterizer/gpu) no longer applied under Xvfb
- Align closer to Git-creat7/grokRegister-cpa headed+extension path
2026-07-12 01:14:18 +08:00
chaos 767516745e Fix snap chromium path collapsing to /usr/bin/snap
readlink/realpath of /snap/bin/chromium becomes /usr/bin/snap, which is
not a browser and breaks DrissionPage launch. Keep the snap wrapper path,
reject snap host basenames, and prefer real deb chromium binaries.
2026-07-12 00:49:45 +08:00
chaos a790a371a8 start.sh: force Chromium path/env for turnstilePatch
Detect and prefer Chromium, auto-install when only Chrome is present,
and export BROWSER_PATH/BROWSER_PREFER into the register process so
Xvfb servers no longer fall back to google-chrome without extensions.
2026-07-12 00:39:24 +08:00
chaos cf6c0d2b4d Prefer Chromium for turnstilePatch on headless servers
Google Chrome blocks --load-extension, so CF tokens stay empty under
Xvfb. Auto-select Chromium when the extension is present, install/
detect chromium in start.sh, and document browser_prefer overrides.
2026-07-12 00:37:27 +08:00
chaos cd4a2351ae Auto headless + Xvfb for headless servers
Enable Chromium on machines without DISPLAY: Python auto headless
with Xvfb hints, and start.sh installs/starts Xvfb (xvfb-run or
persistent :99) so registration can run headed under a virtual display.
2026-07-12 00:34:15 +08:00
chaos 4feac70c91 Make start scripts auto-install missing runtime deps
Bootstrap uv, Python 3.13, project deps, and browser when possible so first-run setup works without manual environment setup.
2026-07-12 00:28:05 +08:00
chaos c56d0d240a Add one-click start scripts for Linux and Windows
- start.sh: Linux/Mac one-click launcher
- start.bat: Windows one-click launcher
- Both scripts auto-detect/install:
  - Python 3.13+
  - uv package manager
  - Chrome/Chromium browser
  - Sync Python dependencies
  - Create .env/config.json from templates if missing
- Default to unlimited accounts (--count 0)
- Pass through CLI args for custom runs
2026-07-12 00:04:36 +08:00