Skip to content

Bug: Windows installation fails (Installer crash + OpenSSL dependency) #86

@1001encore

Description

@1001encore

Problem

The current installation process for Windows is broken in multiple ways:

  1. Installer Script Crash: scripts/install.ps1 crashes immediately on standard Windows PowerShell 5.1 environments with unsupported architecture because RuntimeInformation::OSArchitecture returns null/empty.
  2. Build Complexity: cargo install fails for users without Visual Studio C++ Build Tools because git2 defaults to compiling OpenSSL from source.
  3. Missing Documentation: The README.md directs Windows users to cargo install (which fails) instead of providing the pre-built binary installation method.

Solution

I have prepared a comprehensive fix that:

  • Patches install.ps1 to correctly detect the Windows architecture.
  • Switches Cargo.toml to use rustls (Schannel) on Windows, removing the C++ requirement.
  • Updates the Release workflow to ensure artifacts are generated automatically.
  • Adds the PowerShell installation command to the README.

I will open a PR shortly.

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