Skip to content

[BUG] Windows - desktop app skips PATH patching, CLI binary not on PATH after install #203

@mynameistito

Description

@mynameistito

apps/desktop/src/main.ts copies the executor CLI binary and then returns early on Windows before doing any PATH patching:

if (process.platform === "win32") return;
// ... patches .zshrc, .bashrc, fish config

So on Windows the binary gets copied but the bin directory never gets added to PATH. Users have to manually update their PATH or the CLI just isn't accessible from the terminal.

Fix would be adding the bin dir to the user's PATH via the Windows registry (HKCU\Environment), or at minimum printing the path so users know what to add.


Identified with AI assistance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions