diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b9d3363e4..cb71017d0 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -453,9 +453,12 @@ jobs: SIDECAR_BASE: ${{ steps.core-paths.outputs.sidecar_base }} run: | SIDECAR_PATH="app/src-tauri/binaries/${SIDECAR_BASE}-${MATRIX_TARGET}" + ENTITLEMENTS="app/src-tauri/entitlements.sidecar.plist" echo "Signing sidecar: $SIDECAR_PATH" - codesign --force --options runtime --sign "$APPLE_SIGNING_IDENTITY" "$SIDECAR_PATH" + echo "Using entitlements: $ENTITLEMENTS" + codesign --force --options runtime --entitlements "$ENTITLEMENTS" --sign "$APPLE_SIGNING_IDENTITY" "$SIDECAR_PATH" codesign --verify --verbose "$SIDECAR_PATH" + codesign --display --entitlements - "$SIDECAR_PATH" echo "Sidecar signed successfully" - name: Resolve standalone core CLI artifact path diff --git a/app/src-tauri/Cargo.lock b/app/src-tauri/Cargo.lock index 91a787f4f..c70e84b5a 100644 --- a/app/src-tauri/Cargo.lock +++ b/app/src-tauri/Cargo.lock @@ -4,7 +4,7 @@ version = 4 [[package]] name = "OpenHuman" -version = "0.49.20" +version = "0.49.21" dependencies = [ "env_logger", "log", diff --git a/app/src-tauri/entitlements.sidecar.plist b/app/src-tauri/entitlements.sidecar.plist new file mode 100644 index 000000000..46f675661 --- /dev/null +++ b/app/src-tauri/entitlements.sidecar.plist @@ -0,0 +1,12 @@ + + + + + com.apple.security.cs.allow-jit + + com.apple.security.cs.allow-unsigned-executable-memory + + com.apple.security.cs.disable-library-validation + + + diff --git a/app/src-tauri/tauri.conf.json b/app/src-tauri/tauri.conf.json index 36b911059..95c3812fd 100644 --- a/app/src-tauri/tauri.conf.json +++ b/app/src-tauri/tauri.conf.json @@ -53,6 +53,7 @@ "createUpdaterArtifacts": true, "macOS": { "minimumSystemVersion": "10.15", + "entitlements": "entitlements.sidecar.plist", "dmg": { "background": "./images/background-dmg.png" }