opencode icon indicating copy to clipboard operation
opencode copied to clipboard

fix(app): allow browsing absolute paths on Windows

Open usvimal opened this issue 2 weeks ago • 1 comments

Summary

Fixes #6490 - Windows users can now browse and open projects outside their home directory.

Problem

On Windows, the directory selector dialog was limited to browsing within C:\Users\<username>. This made it impossible to:

  • Open projects on other drives (D:, E:, etc.)
  • Access folders outside the user profile

Solution

  • Added isAbsolutePath() function to detect Windows drive letters (`C:\ in the directory selector -> shows folders on D: drive
  • Type C:\Projects -> searches within C:\Projects
  • Existing relative path behavior unchanged

usvimal avatar Jan 02 '26 05:01 usvimal