sshx
sshx copied to clipboard
feat: add FreeBSD enhancement
This patch add two things:
- As FreeBSD use /usr/local/bin to install 3rd software, I add it into the shell search path.
- Add FreeBSD build support. Currently, there is no cross-compile toolchain for FreeBSD in MacOS. And for simplicity, I use cross-rs to cross compile. And next, Aarch64 for FreeBSD is in tier-3 supported and is nightly only in rust. So it maybe too complicate to run the cross-compilation in cross-rs so I don't do it.
I have tested the release.sh in my M1 Macbook and it works fine.