mirror of
https://github.com/zotero/zotero.git
synced 2026-10-03 02:21:49 +00:00
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/
This commit is contained in:
parent
e061e565b7
commit
5245b6cf5e
1 changed files with 5 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue