[PR #6624] fix(app): allow browsing absolute paths on Windows #12009

Open
opened 2026-02-16 18:16:56 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/6624

State: open
Merged: No


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
**Original Pull Request:** https://github.com/anomalyco/opencode/pull/6624 **State:** open **Merged:** No --- ## 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
yindo added the pull-request label 2026-02-16 18:16:56 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#12009