Skip to content

Conversation

ollieb89
Copy link

This PR fixes Claude installation detection on Windows systems, particularly for installations in the standard Windows location.

The app was not recognizing Claude installations on Windows, even when Claude was installed in the standard location (%USERPROFILE%.claude).

Changes:

  • Added Windows-specific home directory detection using USERPROFILE environment variable
  • Implemented comprehensive Windows path checking
  • Changed from Unix 'which' command to Windows 'where' command
  • Added support for Windows executable extensions (.exe, .cmd, .bat)
  • Updated error messages with platform-specific paths

Testing: Built successfully on Windows. The changes use conditional compilation to maintain compatibility with Unix/Linux/macOS systems.

Fixes issue where Claude installation at C:\Users<username>.claude was not detected on Windows systems.

- Add Windows-specific home directory detection using USERPROFILE
- Support Windows paths including %USERPROFILE%\.claude
- Use 'where' command instead of 'which' on Windows
- Add comprehensive Windows installation paths checking
- Support .exe, .cmd, and .bat file extensions on Windows
- Update error messages with platform-specific paths

Fixes issue where Claude installation at C:\Users\<username>\.claude was not detected on Windows systems.
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