zotero/app/scripts
Dan Stillman ce20a5f228 Ship legacy Safari App Extension alongside the web extension on Mac
Developer ID-signed Safari web extensions load only in Safari 18.4 and
later -- older Safari blocks them at the code-signing layer -- so macOS
11 and 12 users, whose Safari versions top out at 16.6 and 17.6, lost
the connector with the web extension conversion.

Embed the prebuilt legacy App Extension ($SAFARI_APP_EXTENSION, set by
the deploy scripts) at Contents/PlugIns/ZoteroSafariExtension.appex with
the historical bundle identifier, and move the web extension to
Contents/PlugIns/ZoteroSafariWebExtension.appex with a new
.SafariWebExtension identifier. The web extension's
SFSafariAppExtensionBundleIdentifiersToReplace key causes Safari
versions that can load it to hide the App Extension and migrate its
enabled state, while older Safari shows only the App Extension.

Also remove the removed-files entries for the App Extension's
resources, which would otherwise delete them on update.

https://forums.zotero.org/discussion/132925/
2026-07-28 07:24:27 -04:00
..
8.0_release_build_and_deploy Separate build and deploy for release scripts 2026-04-09 11:37:05 -04:00
9.0_release_build_and_deploy Bundle Safari web extension instead of Safari App Extension 2026-07-22 15:11:23 -04:00
add_omni_file Update staged builds in place for faster dev builds (#5994) 2026-07-08 10:07:58 -04:00
add_version_info Generate changelog link automatically in add_version_info 2023-05-17 04:35:40 -04:00
beta_build_and_deploy Ship legacy Safari App Extension alongside the web extension on Mac 2026-07-28 07:24:27 -04:00
build_and_run Update staged builds in place for faster dev builds (#5994) 2026-07-08 10:07:58 -04:00
build_for_deploy Fix build_for_deploy dying silently on an empty incrementals file 2026-07-10 15:26:52 -04:00
check_requirements Suggest running git lfs install in check_requirements instructions (#5102) 2025-03-12 06:54:05 -04:00
codesign_local Stop bundling the PDF tools 2023-04-29 07:14:51 -04:00
createprecomplete.py Add Mozilla script to generate precomplete file 2024-07-22 03:05:14 -04:00
dev_build_and_deploy Bundle Safari web extension instead of Safari App Extension 2026-07-22 15:11:23 -04:00
dir_build Update staged builds in place for faster dev builds (#5994) 2026-07-08 10:07:58 -04:00
fetch_mar_tools Generate xz MARs for new updater 2023-05-17 04:35:40 -04:00
fetch_rcedit Add zotero-standalone-build repo as app folder 2023-04-26 04:40:22 -04:00
fetch_xulrunner Encrypt API key and WebDAV password using OS keychain (#5897) 2026-06-12 11:16:22 -04:00
get_commit_files Add zotero-standalone-build repo as app folder 2023-04-26 04:40:22 -04:00
get_repo_branch_hash Add zotero-standalone-build repo as app folder 2023-04-26 04:40:22 -04:00
incremental_update Update staged builds in place for faster dev builds (#5994) 2026-07-08 10:07:58 -04:00
manage_incrementals Fix manage_incrementals on Cygwin 2026-04-09 12:32:03 -04:00
notarization_info Switch to notarytool for Mac build notarization 2023-06-19 06:39:39 -04:00
notarization_stapler Add zotero-standalone-build repo as app folder 2023-04-26 04:40:22 -04:00
notarize_mac_app Switch to notarytool for Mac build notarization 2023-06-19 06:39:39 -04:00
optimizejars.py Add zotero-standalone-build repo as app folder 2023-04-26 04:40:22 -04:00
prepare_build Update prepare_build for Python 3.12 (#3865) 2024-03-20 23:51:25 -04:00
test_build_and_deploy Ship legacy Safari App Extension alongside the web extension on Mac 2026-07-28 07:24:27 -04:00
upload_builds Convert Cygwin paths passed to AWS CLI 2023-05-18 10:51:29 +01:00
utils.sh Update staged builds in place for faster dev builds (#5994) 2026-07-08 10:07:58 -04:00
xulrunner_hash Fix xulrunner_hash to read the hash from openssl output on LibreSSL/macOS 2026-07-01 20:14:30 +02:00