mirror of
https://github.com/aaddrick/claude-desktop-debian.git
synced 2026-05-17 00:26:21 +03:00
Adds _doctor_check_recent_crashes, called from run_doctor before the log-file section. When systemd-coredump shows ≥3 Electron crashes in the last 7 days, surfaces a [WARN] with two workarounds (Settings toggle, CLAUDE_DISABLE_GPU=1) and a link to the tracking issue. Filters by the caller-supplied electron_path when entries match, falls back to all-electron entries with a footnote when they don't (covers AppImage's transient mount paths and other Electron apps installed side-by-side). Silent when coredumpctl isn't on PATH (non-systemd hosts), when there are zero matches, or when the count is below threshold. Co-Authored-By: Claude <claude@anthropic.com>