zotero/app
Mynacol b5ea455c1f
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
Fix release build on x86 mac (#5926)
While trying to [fix](https://github.com/NixOS/nixpkgs/pull/519431) another issue in the Zotero package for nixpkgs, I discovered a new bug. When setting a non-`source` update channel, the build fails on MacOS with x86 architectures.

The build fails with:
```
source not found twice in ChannelPrefs

source

stringWithCString:encoding:
```
Which definitely means it is caused by the `strings` command [here](https://github.com/zotero/zotero/blob/main/app/mac/set-channel-prefs-channel#L29).

When manually executing the strings command on the file, I can repeat getting only one `source` result on x86 mac, while getting two on arm64 or linux. After digging around, I tried with the flag `-arch all`, and both `source` values are found on x86 mac. Full command: `strings -n 3 -arch all $binary`.
2026-07-31 13:41:33 -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 Fix release build on x86 mac (#5926) 2026-07-31 13:41:33 -04:00
modules Update LibreOffice submodule 2026-07-14 13:39:07 -04:00
scripts Ship legacy Safari App Extension alongside the web extension on Mac 2026-07-28 07:24:27 -04:00
update-packaging Ship legacy Safari App Extension alongside the web extension on Mac 2026-07-28 07:24:27 -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 Ship legacy Safari App Extension alongside the web extension on Mac 2026-07-28 07:24:27 -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.