diff --git a/README.md b/README.md index 89758d9..c137cea 100644 --- a/README.md +++ b/README.md @@ -1,16 +1,15 @@ # mosh-static -An unofficial static binary distribution of [mobile-shell/mosh](https://github.com/mobile-shell/mosh) which can be dropped into a remote server. Extends [dtinth/mosh-static](https://github.com/dtinth/mosh-static) to add support for arm64 and armv7 architectures, using QEMU when building. +An unofficial static binary distribution of [mobile-shell/mosh](https://github.com/mobile-shell/mosh) which can be dropped into a remote server. Extends [dtinth/mosh-static](https://github.com/dtinth/mosh-static) to add support for arm64 and armv7 architectures on Linux, using QEMU when building, and also support for macOS on arm64 and x86_64. -Releasing is automated by GitHub Actions — [this GitHub Actions workflow](https://github.com/freitas-renato/mosh-static/blob/main/.github/workflows/autobuild.yml) clones `mosh`’s source code, compiles it inside an Alpine Docker image, and creates a GitHub release with the binaries. +Releasing is automated by GitHub Actions on [this GitHub Actions workflow](https://github.com/freitas-renato/mosh-static-multiarch/blob/main/.github/workflows/autobuild.yml). For Linux, it clones `mosh`’s source code, compiles it inside an Alpine Docker image with QEMU for arm64, armv7 and amd64 targets. For macOS, it installs dependencies via Macports and compiles inside a macOS environment, linking protobuf statically. In the end, it creates a [GitHub release](https://github.com/freitas-renato/mosh-static-multiarch/releases/latest) with the binaries. ## Using the binaries ```sh # On the server (ARM64) -wget https://github.com/freitas-renato/mosh-static-multiarch/releases/latest/download/mosh-server-arm64.zip -unzip mosh-server-arm64.zip -chmod +x mosh-server-arm64/mosh-server +wget https://github.com/freitas-renato/mosh-static-multiarch/releases/latest/download/mosh-server-linux-arm64 -O mosh-server +chmod +x mosh-server # On the client mosh --server=./mosh-server @