zotero/app/mac
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
..
Contents Updated Liquid Glass icon that fixes glitch in dark/tinted/clear modes 2025-09-13 02:29:17 -04:00
build-and-unify Update build scripts with new default Firefox source folder 2025-07-30 22:30:32 -04:00
ChannelPrefs.framework.tar.xz Use custom ChannelPrefs.framework to set Mac update channel 2024-12-14 01:16:01 -05:00
DSStore Add zotero-standalone-build repo as app folder 2023-04-26 04:40:22 -04:00
entitlements.xml Add zotero-standalone-build repo as app folder 2023-04-26 04:40:22 -04:00
mozconfig Update macOS SDK for fx140 build in mozconfig 2025-07-30 22:30:51 -04:00
mozilla-115.patch Use custom XUL binary on macOS (#4010) 2024-04-19 07:04:42 -04:00
mozilla-128.patch Update Mozilla patch and mozconfig for fx128 on macOS 2024-12-14 01:16:00 -05:00
pkg-dmg Strip com.apple.FinderInfo xattrs from files in Mac disk images 2026-07-27 15:31:18 -04:00
set-channel-prefs-channel Fix release build on x86 mac (#5926) 2026-07-31 13:41:33 -04:00
updater.tar.xz Update Mac updater to 140.0esr 2025-07-30 22:30:32 -04:00
updater_renamer Update Mac updater for Zotero 7 2023-05-17 04:35:40 -04:00
zotero.xz Update Mac build to 140.0esr 2025-07-30 22:30:32 -04:00