mirror of
https://github.com/tinyhumansai/openhuman.git
synced 2026-07-29 14:02:19 +00:00
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:
@@ -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
|
||||
|
||||
@@ -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"]
|
||||
|
||||
Reference in New Issue
Block a user