Skip to content

[BUG] Windows - postinstall calls chmod on the extracted binary #207

@mynameistito

Description

@mynameistito

The postinstall script unconditionally calls fs.chmodSync(cachedBinary, 0o755) after extraction. Windows doesn't support Unix file permissions and this throws.

Fix: guard with if (platform !== "windows").

Fixed in: apps/cli/src/build.ts


Identified and fixed 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