From 5245b6cf5e2ef370cf1b97bec639939f8d155429 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Tue, 22 Sep 2026 16:00:22 -0400 Subject: [PATCH] Bundle Safari App Extension in release builds The release script never set SAFARI_APP_EXTENSION, so 10.0 through 10.0.3 shipped with only the web extension, which doesn't run on Big Sur or Monterey. Only beta builds have been including both. https://forums.zotero.org/discussion/133871/ --- app/scripts/10.0_release_build_and_deploy | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/scripts/10.0_release_build_and_deploy b/app/scripts/10.0_release_build_and_deploy index f16b4212ec..4b6db4d94c 100755 --- a/app/scripts/10.0_release_build_and_deploy +++ b/app/scripts/10.0_release_build_and_deploy @@ -12,6 +12,7 @@ BUILD_ONLY=0 if [ "`uname`" = "Darwin" ]; then export SAFARI_APPEX="$ROOT_DIR/../safari-web-extension-builds/ZoteroSafariExtension.appex" export SAFARI_EXT_RESOURCES="$ROOT_DIR/../safari-web-extension-builds/release/safari" + export SAFARI_APP_EXTENSION="$ROOT_DIR/../safari-app-extension-builds/release/ZoteroSafariExtension.appex" if [ ! -d "$SAFARI_APPEX" ]; then echo "Safari extension stub not found at $SAFARI_APPEX -- aborting" >&2 exit 1 @@ -20,6 +21,10 @@ if [ "`uname`" = "Darwin" ]; then echo "Safari web extension not found in $SAFARI_EXT_RESOURCES -- aborting" >&2 exit 1 fi + if [ ! -d "$SAFARI_APP_EXTENSION" ]; then + echo "Safari App Extension not found at $SAFARI_APP_EXTENSION -- aborting" >&2 + exit 1 + fi fi while getopts "b" opt; do