Tidy up a bit better

This commit is contained in:
Conrad Irwin 2023-11-06 10:37:35 -07:00
parent f730982e7b
commit 4d88a326e1

View file

@ -10,6 +10,9 @@ local_only=false
overwrite_local_app=false overwrite_local_app=false
bundle_name="" bundle_name=""
# This must match the team in the provsiioning profile.
APPLE_NOTORIZATION_TEAM="MQ55VZLNZQ"
# Function for displaying help info # Function for displaying help info
help_info() { help_info() {
echo " echo "
@ -228,7 +231,7 @@ else
if [[ -n $MACOS_CERTIFICATE && -n $MACOS_CERTIFICATE_PASSWORD && -n $APPLE_NOTARIZATION_USERNAME && -n $APPLE_NOTARIZATION_PASSWORD ]]; then if [[ -n $MACOS_CERTIFICATE && -n $MACOS_CERTIFICATE_PASSWORD && -n $APPLE_NOTARIZATION_USERNAME && -n $APPLE_NOTARIZATION_PASSWORD ]]; then
echo "Notarizing DMG with Apple" echo "Notarizing DMG with Apple"
"$(xcode-select -p)/usr/bin/notarytool" submit --wait --apple-id "$APPLE_NOTARIZATION_USERNAME" --password "$APPLE_NOTARIZATION_PASSWORD" --team-id MQ55VZLNZQ "${dmg_file_path}" "$(xcode-select -p)/usr/bin/notarytool" submit --wait --apple-id "$APPLE_NOTARIZATION_USERNAME" --password "$APPLE_NOTARIZATION_PASSWORD" --team-id "$APPLE_NOTORIZATION_TEAM" "${dmg_file_path}"
fi fi
if [ "$open_result" = true ]; then if [ "$open_result" = true ]; then