diff --git a/.github/workflows/reusable-test.yml b/.github/workflows/reusable-test.yml index 1fba664..82aa057 100644 --- a/.github/workflows/reusable-test.yml +++ b/.github/workflows/reusable-test.yml @@ -20,7 +20,9 @@ jobs: matrix: include: - rid: osx-arm64 - os: macos-14 + os: macos-26 + - rid: osx-x64 + os: macos-26-intel - rid: linux-x64 os: ubuntu-24.04 - rid: linux-arm64 diff --git a/Directory.Build.props b/Directory.Build.props index 6682628..1507c09 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -36,11 +36,11 @@ GPL-3.0-only false README.md - 0.3.0 + 0.4.0 - osx-arm64;linux-arm64;linux-x64;win-x64 + osx-arm64;osx-x64;linux-arm64;linux-x64;win-x64 diff --git a/README.md b/README.md index 80c1242..2601200 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,15 @@ # HeadsetControl.NET +[![NuGet](https://img.shields.io/nuget/v/HeadsetControl.NET.svg?logo=nuget)](https://www.nuget.org/packages/HeadsetControl.NET) +[![NuGet downloads](https://img.shields.io/nuget/dt/HeadsetControl.NET.svg?logo=nuget)](https://www.nuget.org/packages/HeadsetControl.NET) + .NET 10 wrapper for the [HeadsetControl](https://github.com/Sapd/HeadsetControl) C/C++ library. Sidetone, battery, equalizer, lights, chat-mix, the lot. -Runs on `osx-arm64`, `linux-arm64`, `linux-x64`, `win-x64`. +Native binaries are shipped for `osx-arm64`, `osx-x64`, `linux-arm64`, +`linux-x64`, `win-x64`. On Apple Silicon Macs make sure you're using a native +arm64 `dotnet` — Intel `dotnet` under Rosetta reports `osx-x64` and will pull +the x64 binary instead. ## Layout diff --git a/build/build-native.sh b/build/build-native.sh index 95b5704..7087f9a 100755 --- a/build/build-native.sh +++ b/build/build-native.sh @@ -3,7 +3,7 @@ # build/native// where the .NET projects pick it up. # # build/build-native.sh host RID -# build/build-native.sh --rid osx-arm64, linux-x64, linux-arm64, win-x64 +# build/build-native.sh --rid osx-arm64, osx-x64, linux-x64, linux-arm64, win-x64 # # CMAKE_EXTRA_ARGS is forwarded to the configure step (used by CI to pass the # vcpkg toolchain file on Windows). diff --git a/headsetcontrollib b/headsetcontrollib index 3eaaab8..a16be48 160000 --- a/headsetcontrollib +++ b/headsetcontrollib @@ -1 +1 @@ -Subproject commit 3eaaab8ea2650e05c1dbc177670036b6e0ce09c5 +Subproject commit a16be4810e7f9158e674574dc0745376954140b8