Repository navigation
fix(desktop): ship sharp's WebAssembly build so the Mac App Store scan passes - #44
Merged
Merged
Conversation
…n passes App Review rejected 1.1.0 build 51 (Guideline 2.5.1): sharp's native libvips imports the non-public CoreText function _CTFontCopyDefaultCascadeList. Every sharp-libvips release through 1.3.4 still does. The packaging step now removes the native sharp packages and installs the lockfile-pinned @img/sharp-wasm32 and @emnapi/runtime, verified by sha512. Same image output, about 2.7x slower. The bundle audit now fails when any Mach-O in the app references a non-public Apple API App Review has flagged. Bump the build to 52. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This was referenced Nov 19, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PR review support materials
Before and After
No UI change.
@imgpackages in the appsharp-darwin-arm64,sharp-libvips-darwin-arm64sharp-wasm32CTFontCopyDefaultCascadeListlibvips-cpp.8.17.1.dylib, 2 byte matches).pkgWhat you must know
bun install --cpu=wasm32is rejected by bun 1.3.10, soscripts/desktop-sharp-wasm.mjsfetches the two locked packages after install and checks their sha512 againstbun.lock. Nothing is changed until both downloads verify.tauri.app-store.conf.json,commerce.rsand the packaging checks.Summary
Evidence
desktop-bundle-audit(non-public API) anddesktop-sharp-wasm(swap, tamper, missing lock entry). Now 22 of 22 pass indesktop-packaging,desktop-bundle-auditanddesktop-sharp-wasm. Three other script tests fail here only because this worktree has nonode_modules..pkgpayload loaded under Node 22.22.3 and produced the sizes above.testflight.py checkon the signed package:com.zenuml.app1.1.0 (52), source commit563cb27.Merge Danger
Door:
two-wayImage processing moves to WebAssembly in the Mac App Store build only.
Blast Radius: thumbnail, background, screenshot and image-description generation in the desktop app; slower, same output.
🤖 Generated with Claude Code