Skip to content

Use all your internet connections at once on Windows, macOS, Linux and Android: per-connection load balancing over Wi-Fi, Ethernet, mobile data and phone tethers

Release 0.2.0: macOS and Linux downloads (#5)

Rohit Mahtoa359dcd891dc
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 7b68550..e76eae2 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -42,6 +42,31 @@ jobs:
gh release create $tag $files --title $title --notes-file release-notes.md
}
+ # Adds the Linux builds to the release the Windows job creates. Pure Go, so no cgo and no
+ # cross-compiler: the runner builds both architectures.
+ linux:
+ needs: release
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v4
+ - uses: actions/setup-go@v5
+ with:
+ go-version-file: go.mod
+ - name: Build tarballs
+ run: |
+ v='${{ github.ref_name }}'; v=${v#v}
+ mkdir dist
+ for pair in amd64:x86_64 arm64:aarch64; do
+ goarch=${pair%%:*}; name=${pair##*:}
+ CGO_ENABLED=0 GOOS=linux GOARCH=$goarch go build -ldflags "-s -w -X main.version=$v" -o net-merge ./cmd/net-merge
+ tar -czf dist/net-merge-$v-linux-$name.tar.gz net-merge LICENSE THIRD-PARTY-NOTICES.md
+ rm net-merge
+ done
+ - name: Upload to the release
+ env:
+ GH_TOKEN: ${{ github.token }}
+ run: gh release upload '${{ github.ref_name }}' dist/net-merge-*-linux-*.tar.gz --clobber
+
# Adds the macOS build to the release the Windows job creates.
macos:
needs: release
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 755d73b..138facb 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -5,7 +5,12 @@ entry here before pushing a version tag.
## [Unreleased]
+## [0.2.0] - 2026-10-16
+
### Added
+- **Downloads for macOS and Linux.** Each release now also has `net-merge-X.Y.Z-macos-universal.tar.gz`
+ (Apple Silicon and Intel) and `net-merge-X.Y.Z-linux-x86_64.tar.gz` / `-linux-aarch64.tar.gz`. The steps
+ to run them are in the README.
- **macOS support** (Apple Silicon and Intel). System-wide mode, the menu-bar tray, the SOCKS5 proxy, live
per-adapter speeds and start at login (a LaunchAgent) all work. The TUN is a utun, flows are pinned with
`IP_BOUND_IF` plus a scoped default route per adapter, and adapters come from the routing table. iPhone
diff --git a/README.md b/README.md
index 1f95603..fc1e78c 100644
--- a/README.md
+++ b/README.md
@@ -52,6 +52,7 @@ Works on Apple Silicon and Intel Macs. Download `net-merge-x.y.z-macos-universal
[releases page](../../releases), unpack it, and run these once:
```
+tar xzf net-merge-*-macos-universal.tar.gz
xattr -d com.apple.quarantine net-merge # only if macOS refuses to open it (it is not notarized yet)
sudo ./net-merge install # copies it to /usr/local/bin and lets you start the tray without a password
net-merge tray # a green/grey icon appears in the menu bar
@@ -112,15 +113,19 @@ To try it without installing: `sudo nix run github:rohit267/net-merge -- run`.
### Other Linux distributions
-Build it (see [Build](#build)), put it on your `PATH`, and give it the capability once so it runs
-without root:
+Download `net-merge-x.y.z-linux-x86_64.tar.gz` (or `-linux-aarch64.tar.gz` for ARM) from the
+[releases page](../../releases), unpack it, put it on your `PATH`, and give it the capability once so it
+runs without root:
```
-go build -o net-merge ./cmd/net-merge
+tar xzf net-merge-*-linux-*.tar.gz
sudo install -m 755 net-merge /usr/local/bin/
sudo setcap cap_net_admin,cap_net_raw+ep /usr/local/bin/net-merge
+net-merge tray
```
+To build it yourself instead, see [Build](#build) (`go build -o net-merge ./cmd/net-merge`).
+
Without the capability, `net-merge run` asks for your password through `sudo` (or `pkexec` without a
terminal); the tray can't run as root, because its icon lives on your desktop session's D-Bus. The
tray icon needs a desktop with StatusNotifierItem support: KDE, XFCE, Cinnamon, LXQt, Budgie, or GNOME
diff --git a/scripts/release-notes.ps1 b/scripts/release-notes.ps1
index d2adfea..bebc02f 100644
--- a/scripts/release-notes.ps1
+++ b/scripts/release-notes.ps1
@@ -14,6 +14,8 @@ if (-not $m.Success -or -not $m.Groups[1].Value.Trim()) {
$install = "**Install:** download ``net-merge-setup-$Version.exe`` below and run it (needs admin; it upgrades " +
"an existing install in place). A portable zip is attached too. Not code-signed yet, so SmartScreen " +
"will warn: *More info > Run anyway*."
+$install += "`n`n**macOS and Linux:** download ``net-merge-$Version-macos-universal.tar.gz`` or " +
+ "``net-merge-$Version-linux-x86_64.tar.gz`` / ``-linux-aarch64.tar.gz`` and follow the Install section of the README."
# UTF-8 without a BOM (Windows PowerShell's -Encoding utf8 adds one, which GitHub would show)
$path = $ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath($Out)
[IO.File]::WriteAllText($path, $install + "`n`n" + $m.Groups[1].Value.Trim() + "`n", (New-Object Text.UTF8Encoding $false))