Skip to content

Commit b705c5b

Browse files
authored
Switch to use JPDFium v1.0.2, which signs the Mac binaries (Stirling-Tools#6521)
# Description of Changes Currently, it's not possible to develop the backend on Mac without manually signing the JPDFium binaries yourself since macOS will reject running the unsigned binaries. [We've now updated JPDFium to sign the Mac binaries in v1.0.2](https://github.com/Stirling-Tools/JPDFium/releases/tag/v1.0.2), so update to use that version.
1 parent 1264f4c commit b705c5b

4 files changed

Lines changed: 2 additions & 121 deletions

File tree

.github/workflows/multiOSReleases.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -442,10 +442,6 @@ jobs:
442442
echo "Generated tauri.windows.conf.json (alias masked):"
443443
sed "s/${KEYPAIR_ALIAS}/***/g" ./frontend/editor/src-tauri/tauri.windows.conf.json
444444
445-
- name: Sign JPDFium dylibs inside bootJar (macOS only)
446-
if: matrix.platform == 'macos-15' && env.APPLE_CERTIFICATE != ''
447-
run: bash frontend/scripts/sign-jpdfium-dylibs-in-bootjar.sh
448-
449445
- name: Import release GPG signing key (Linux)
450446
if: matrix.platform == 'ubuntu-22.04' && env.RELEASE_GPG_PRIVATE_KEY != '' && (github.event_name == 'release' || (github.event_name == 'workflow_dispatch' && github.event.inputs.sign != 'false') || github.ref == 'refs/heads/V2-master')
451447
run: |

.github/workflows/tauri-build.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -271,10 +271,6 @@ jobs:
271271
echo "APPLE_SIGNING_IDENTITY=$CERT_ID" >> $GITHUB_ENV
272272
echo "Certificate imported successfully."
273273
274-
- name: Sign JPDFium dylibs inside bootJar (macOS only)
275-
if: matrix.platform == 'macos-15' && env.APPLE_CERTIFICATE != ''
276-
run: bash frontend/scripts/sign-jpdfium-dylibs-in-bootjar.sh
277-
278274
- name: Check DMG creation dependencies (macOS only)
279275
if: matrix.platform == 'macos-15'
280276
run: |

app/common/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ dependencies {
6060
exclude group: 'com.google.code.gson', module: 'gson'
6161
}
6262

63-
api 'com.stirling:jpdfium:1.0.1'
63+
api 'com.stirling:jpdfium:1.0.2'
6464

6565
// -PjpdfiumPlatforms=all|<csv of linux-x64,linux-arm64,darwin-x64,darwin-arm64,windows-x64>
6666
def jpdfiumPlatformsProp = (project.findProperty('jpdfiumPlatforms') ?: 'all').toString().trim()
@@ -75,7 +75,7 @@ dependencies {
7575
}
7676
logger.lifecycle("JPDFium native platforms: ${jpdfiumPlatforms.join(', ')}")
7777
jpdfiumPlatforms.each { platform ->
78-
runtimeOnly "com.stirling:jpdfium-natives-${platform}:1.0.1"
78+
runtimeOnly "com.stirling:jpdfium-natives-${platform}:1.0.2"
7979
}
8080

8181
// Bucket4j (local in-process token bucket for RateLimitStore default impl)

frontend/scripts/sign-jpdfium-dylibs-in-bootjar.sh

Lines changed: 0 additions & 111 deletions
This file was deleted.

0 commit comments

Comments
 (0)