Skip to content

update install.sh to support Windows x86 #4124

@cryptoni9n

Description

@cryptoni9n

It appears that there is only support for aarch64-apple-darwin, x86_64-apple-darwin, and x86_64-unknown-linux-gnu in install.sh

from a bash shell on a Windows 11 machine, I receive this response from the curl script

v0.21.3

install.sh: Could not determine target from output of `uname -m`-`uname -s`, please use `--target`: x86_64-MINGW64_NT-10.0-22631
install.sh: Target architecture is not supported by this install script.
install.sh: Consider opening an issue or building from source: https://github.com/ordinals/ord``

attempting to specify the uname:

install.sh: Repository:  https://github.com/ordinals/ord
install.sh: Crate:       ord
install.sh: Tag:         0.21.3
install.sh: Target:      x86_64-windows
install.sh: Destination: /c/Users/nine/bin
install.sh: Archive:     https://github.com/ordinals/ord/releases/download/0.21.3/ord-0.21.3-x86_64-windows.tar.gz
curl: (22) The requested URL returned error: 404

gzip: stdin: unexpected end of file
tar: Child returned status 1
tar: Error is not recoverable: exiting now

if this is an unsupported method on windows machines, I think we should add that information to https://docs.ordinals.com/guides/wallet.html#installing-ord

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