Is your feature request related to a problem? Please describe.
I just tried this out on a Yocto installation on an ARM board. xxh downloaded the x86_64 zsh and tried to run it. Since this is imo one of the biggest use cases, I think xxh should automatically detect this.
Describe the solution you'd like
Detect the archtitecture and download the right binary.
❯ xxh root@my-machine
my-machine:/home/root/.xxh/.xxh/shells/xxh-shell-zsh not found. Install xxh-shell-zsh? [Y/n] Y
Install xxh-shell-zsh to my-machine:/home/root/.xxh
First time upload using rsync (this will be omitted on the next connections)
First run xxh-shell-zsh on my-machine
Something went wrong while running zsh on host:
./zsh.sh: line 28: /home/root/.xxh/.xxh/shells/xxh-shell-zsh/build/zsh-bin/bin/zsh: cannot execute binary file: Exec format error
/home/root/.xxh/.xxh/shells/xxh-shell-zsh/build/zsh.sh: line 28: /home/root/.xxh/.xxh/shells/xxh-shell-zsh/build/zsh-bin/bin/zsh: cannot execute binary file: Exec format error
Is your feature request related to a problem? Please describe. I just tried this out on a Yocto installation on an ARM board. xxh downloaded the x86_64 zsh and tried to run it. Since this is imo one of the biggest use cases, I think xxh should automatically detect this.
Describe the solution you'd like Detect the archtitecture and download the right binary.