From 30e355ddd1b05090eaa74eb40e15289fb72101c8 Mon Sep 17 00:00:00 2001 From: Steven Enamakel Date: Thu, 26 Mar 2026 18:05:49 -0700 Subject: [PATCH] chore: refine macOS release workflow and clean up Cargo.toml - Updated comments in the GitHub Actions release workflow to clarify the handling of feature-gated binaries for macOS codesigning. - Removed unnecessary required features for `openhuman-core` and `openhuman-cli` in Cargo.toml to streamline the configuration. --- .github/workflows/release.yml | 7 +++---- src-tauri/Cargo.toml | 4 ---- 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4ad6d7726..0976ae70b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -313,10 +313,9 @@ jobs: WITH_UPDATER: 'true' MACOSX_DEPLOYMENT_TARGET: ${{ matrix.settings.platform == 'macos-latest' && '10.15' || '' }} with: - # Keep only the app binary in the .app bundle by default. - # Helper bins (openhuman-tools-discovery/openhuman-core/openhuman-cli) - # are feature-gated in Cargo.toml to prevent unsigned subcomponents - # from breaking macOS codesign during release packaging. + # `openhuman-tools-discovery` is feature-gated in Cargo.toml so it + # does not get bundled into release app packages and break macOS + # codesign as an unsigned subcomponent. args: -c ${{ steps.config-overrides.outputs.json }} ${{ matrix.settings.args }} includeDebug: false includeRelease: true diff --git a/src-tauri/Cargo.toml b/src-tauri/Cargo.toml index 1998d7f80..6a5bcd6b5 100644 --- a/src-tauri/Cargo.toml +++ b/src-tauri/Cargo.toml @@ -27,12 +27,10 @@ required-features = ["tools-discovery-bin"] [[bin]] name = "openhuman-core" path = "src/bin/openhuman-core.rs" -required-features = ["openhuman-core-bin"] [[bin]] name = "openhuman-cli" path = "src/bin/openhuman-cli.rs" -required-features = ["openhuman-cli-bin"] [build-dependencies] tauri-build = { version = "2", features = [] } @@ -188,8 +186,6 @@ custom-protocol = ["tauri/custom-protocol"] sandbox-landlock = ["dep:landlock"] sandbox-bubblewrap = [] tools-discovery-bin = [] -openhuman-core-bin = [] -openhuman-cli-bin = [] # OpenHuman feature flags hardware = ["dep:nusb", "dep:tokio-serial"]