zotero/app
Dan Stillman 91d7e73d26
Some checks are pending
CI / Test (shard 1) (push) Waiting to run
CI / Test (shard 2) (push) Waiting to run
CI / Test (shard 3) (push) Waiting to run
CI / Test (shard 4) (push) Waiting to run
CI / Utilities Tests (push) Waiting to run
CI / Build, Upload (push) Waiting to run
Strip com.apple.FinderInfo xattrs from files in Mac disk images
hdiutil makehybrid gives every file on the image non-empty Finder info
(it sets an icon location), which appears as a com.apple.FinderInfo
extended attribute. codesign --verify --strict rejects FinderInfo as
detritus, and it can cause Safari to fail to load the web extension.
(Reported by a user with Safari 17.6 on macOS 12. No other reports from
the beta, so maybe not universal.) The Safari App Extension apparently
wasn't affected, since it shipped with the same attributes for years.

Convert the hybrid image to a read-write image, mount it, strip the
attributes from its files, and compress from that. The volume header is
untouched, so the open-folder flag that makes Finder open the volume
window on mount is preserved.

Only fresh installs from the DMG were affected. The updater writes fresh
files without the attributes, so copies updated in place were clean.
(Notably, this is the reverse of the post-update extension breakage for
which the standard advice has always been to delete Zotero.app and
redownload. Following that advice is exactly what resulted in a broken
copy here.)

https://forums.zotero.org/discussion/132925/
2026-07-27 15:31:18 -04:00
..
assets runtests.sh: Add -p option to run a shard of the test files (e.g., -p 2/4) 2026-07-08 10:50:32 -04:00
linux Add Firefox build script for Linux 2025-07-30 22:30:55 -04:00
mac Strip com.apple.FinderInfo xattrs from files in Mac disk images 2026-07-27 15:31:18 -04:00
modules Update LibreOffice submodule 2026-07-14 13:39:07 -04:00
scripts Bundle Safari web extension instead of Safari App Extension 2026-07-22 15:11:23 -04:00
update-packaging Bundle Safari web extension instead of Safari App Extension 2026-07-22 15:11:23 -04:00
win Undo Mozilla changes that allow non-UTF-16 command line args (#5904) 2026-05-06 10:27:13 -04:00
.gitignore Finish Windows ARM support 2024-05-28 06:44:21 +01:00
build.sh Bundle Safari web extension instead of Safari App Extension 2026-07-22 15:11:23 -04:00
config.sh Update Windows build to Firefox 140.12.0esr 2026-06-30 16:41:38 -04:00
README.md Add zotero-standalone-build repo as app folder 2023-04-26 04:40:22 -04:00

Zotero Standalone build utility

These files are used to bundle the Zotero core into distributable bundles for Mac, Windows, and Linux.

Instructions for building and packaging are available on the Zotero wiki.