summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile3
-rwxr-xr-xbranding/scripts/osx-stapler.sh6
2 files changed, 5 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 08021da..94afb38 100644
--- a/Makefile
+++ b/Makefile
@@ -257,6 +257,7 @@ notarize_all:
APPNAME=${APPNAME} VERSION=${VERSION} TARGET=${TARGET} OSXAPPPASS=${OSXAPPPASS} branding/scripts/osx-stapler.sh
# --------------------
+# TODO test and remove
notarize_installer:
# courtesy of https://skyronic.com/2019/07/app-notarization-for-qt-applications/
@@ -278,10 +279,10 @@ create_dmg:
ifeq (${PLATFORM}, darwin)
@create-dmg deploy/${APPNAME}-${VERSION}.dmg build/installer/${APPNAME}-installer-${VERSION}.app
endif
-
# --------------------
+
check_qtifw:
ifdef HAS_QTIFW
@echo "[+] Found QTIFW"
diff --git a/branding/scripts/osx-stapler.sh b/branding/scripts/osx-stapler.sh
index 5017f0b..377d6eb 100755
--- a/branding/scripts/osx-stapler.sh
+++ b/branding/scripts/osx-stapler.sh
@@ -14,9 +14,9 @@ requestInfo=$(xcrun altool --notarize-app \
-u ${USER} \
-p ${OSXAPPPASS})
-uuid=$(python branding/scripts/osx-get-uuid.py $requestInfo)
+uuid=$(python3 branding/scripts/osx-staple-uuid.py $requestInfo)
-current_status = "in progress"
+current_status="in progress"
while [[ "$currentStatus" == "in progress" ]]; do
@@ -25,7 +25,7 @@ sleep 15
statusResponse=$(xcrun altool --notarization-info "$uuid" \
--username ${USER} \
--password ${OSXAPPPASS})
-current_status=$(python branding/scripts/osx-get-status.py $statusResponse)
+current_status=$(python3 branding/scripts/osx-staple-status.py $statusResponse)
done