Try to run picard-run during macOS build

This commit is contained in:
Philipp Wolfer
2023-10-13 17:55:59 +02:00
parent ef2fafd10c
commit 21ec4b0d48

View File

@@ -82,6 +82,7 @@ fi
# Only test the app if it was codesigned, otherwise execution likely fails
if [ "$CODESIGN" = '1' ]; then
echo "Verify Picard executable works and required dependencies are bundled..."
"$APP_BUNDLE/Contents/MacOS/picard-run" --long-version --no-crash-dialog || echo "Failed running picard-run"
VERSIONS=$("$APP_BUNDLE/Contents/MacOS/picard-run" --long-version --no-crash-dialog)
echo "$VERSIONS"
ASTRCMP_REGEX="astrcmp C"