Skip to content

On Windows, the project sidebar in the desktop app displays full paths (e.g., C:\Users\{name}\...\project-name) instead of just the folder name #7229

@0xajka

Description

@0xajka

Description

On Windows, the project sidebar displays full paths (e.g., C:\Users{name}...\project-name) instead of just the folder name

Root Causes:

getFilename() utility (packages/util/src/path.ts:1-6) only splits paths by /, which doesn't work on Windows where the separator is .

Plugins

No response

OpenCode version

1.1.4

Steps to reproduce

No response

Screenshot and/or share link

Image

Operating System

Windows 10

Terminal

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingwebRelates to opencode on web / desktopwindows

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions