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"]