Skip to content

Account for Windows quirks in preview#29

Merged
rishi-opensource merged 2 commits intorishi-opensource:mainfrom
pageer:bug/windows-preview
Apr 12, 2026
Merged

Account for Windows quirks in preview#29
rishi-opensource merged 2 commits intorishi-opensource:mainfrom
pageer:bug/windows-preview

Conversation

@pageer
Copy link
Copy Markdown
Contributor

@pageer pageer commented Apr 11, 2026

This fixes two issues I noticed when trying to use the preview feature on Windows. After accounting for these, the diff preview seems to work nicely on Windows.

  1. The Claude preview install command generates mixed-path-delimiter paths in the settings.local.json. The base bath of the plugin uses \ as the path delimiter, but the part within the plugin dir uses /. It looks like Claude is executing commands in Bash, so it doesn't like the backslashes. This updates the code to normalize the paths to forward slashes, which work on all modern Windows versions.
  2. This adds a Python version check and note in the README.md. On a default Windows 11 installation, the python3 command does exist, but it's not actually python3. It's a wrapper script that redirects you to download Python from the Windows store (which is dumb IMO, but that's not the point). In addition, some Windows Python 3 builds (e.g. the one I install via Ninite) install only a python.exe, despite still being a valid Python 3 installation. This adds explicit version check in Claude doctor and a note in the README that you can fix this with a symlink.

@rishi-opensource
Copy link
Copy Markdown
Owner

Thanks for your contribution 🙌

@rishi-opensource rishi-opensource merged commit 02f6ce4 into rishi-opensource:main Apr 12, 2026
2 checks passed
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.

2 participants