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.
This commit is contained in:
Steven Enamakel
2026-03-26 18:05:49 -07:00
parent 97d0e33330
commit 30e355ddd1
2 changed files with 3 additions and 8 deletions
+3 -4
View File
@@ -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
-4
View File
@@ -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"]