summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkali <kali@leap.se>2021-07-15 18:20:18 +0200
committerkali kaneko (leap communications) <kali@leap.se>2021-07-15 18:21:53 +0200
commitae096096e34de7e84047a29e487103f7ce6c391a (patch)
treea9b6c1233d13c37d1b0be456a2508bd2217cbc7e
parent8fd0fcc5eaa9b5fc7692304cdf24560dfb8862ab (diff)
[pkg] fix typos
-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