Skip to content

fix: call ccusage with user shell instead of golang minimal env #127

@AnnatarHe

Description

@AnnatarHe

In file model/ccusage_service.go, lines 237 and 242, the command just calls npx or bunx in a minimal environment. Maybe you can try to get the user's shell first and use the shell to call the command instead of just calling the commands directly. @claude

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions