Branch: refs/heads/master Author: Jiří Techet techet@gmail.com Committer: Jiří Techet techet@gmail.com Date: Mon, 10 Jun 2019 10:34:24 UTC Commit: e29308594be5cab03990844eae02eca202c069d6 https://github.com/geany/geany-osx/commit/e29308594be5cab03990844eae02eca202...
Log Message: ----------- Ask for the notarization password using the shell script
Modified Paths: -------------- README.md notarize.sh
Modified: README.md 8 lines changed, 4 insertions(+), 4 deletions(-) =================================================================== @@ -227,11 +227,11 @@ Distribution [Apple notary service](https://developer.apple.com/documentation/security/notarizing_your_app_befor...), run ``` - ./notarize.sh <dmg_file> <apple_id> <pwd_file> + ./notarize.sh <dmg_file> <apple_id> ``` - where `<dmg_file>` is the dmg file generated above, `<apple_id>` is - the Apple ID used for your developer account, and `<pwd_file>` is - a file containing an [app-specific password](https://support.apple.com/en-us/HT204397) + where `<dmg_file>` is the dmg file generated above and `<apple_id>` + is the Apple ID used for your developer account. The script then + prompts for an [app-specific password](https://support.apple.com/en-us/HT204397) generated for your Apple ID.
Maintenance
Modified: notarize.sh 9 lines changed, 7 insertions(+), 2 deletions(-) =================================================================== @@ -5,10 +5,15 @@
DMGFILE="${1}" APPLEID="${2}" -# file containing app-specific password, see https://support.apple.com/en-us/HT204397 -PASSWORD=`cat ${3}` BUNDLEID="org.geany.geany"
+# App-specific password, see https://support.apple.com/en-us/HT204397 +stty -echo +printf "Password: " +read PASSWORD +stty echo +printf "\n" + echo "Uploading disk image for notarization. This can take a while."; xcrun altool --notarize-app -f "${DMGFILE}" --primary-bundle-id "${BUNDLEID}" -u "${APPLEID}" -p "${PASSWORD}" > ${TMPDIR}notarize_output 2>&1 || { cat ${TMPDIR}notarize_output; rm -f ${TMPDIR}notarize_output; exit $?; }; cat ${TMPDIR}notarize_output;
-------------- This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).