Skip to content

fix: add Windows Chrome/Edge paths to html_to_png.py#5

Open
aviky-2 wants to merge 1 commit into
xiangruiai:mainfrom
aviky-2:fix/windows-chrome-paths
Open

fix: add Windows Chrome/Edge paths to html_to_png.py#5
aviky-2 wants to merge 1 commit into
xiangruiai:mainfrom
aviky-2:fix/windows-chrome-paths

Conversation

@aviky-2

@aviky-2 aviky-2 commented May 19, 2026

Copy link
Copy Markdown

Summary

  • CHROME_PATHS was macOS-only, causing html_to_png.py to fail with "没找到 Chrome / Chromium" on Windows even when Chrome/Edge is installed
  • Added 4 standard Windows install paths for Chrome and Edge

Test plan

  • Verified Chrome is found on Windows at C:/Program Files/Google/Chrome/Application/chrome.exe
  • PNG screenshot generated successfully (900×9979, 1.5MB)
  • Both skills/group-daily/scripts/html_to_png.py and skills/ming-li/scripts/html_to_png.py updated

🤖 Generated with Claude Code

CHROME_PATHS was macOS-only, causing "没找到 Chrome" on Windows
even when Chrome/Edge is installed. Added 4 Windows paths.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant