From 62cf10c453bbe8de6972feb39c6428f09f93ca50 Mon Sep 17 00:00:00 2001 From: fmckenna Date: Sun, 30 Jun 2024 08:17:36 +0200 Subject: [PATCH] fmk - upping version to 3.6.0, adding shell script for notatizatio --- main.cpp | 2 +- notarize.sh | 17 +++++++++++++++++ 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100755 notarize.sh diff --git a/main.cpp b/main.cpp index 60e657f6..fdf6ecca 100644 --- a/main.cpp +++ b/main.cpp @@ -71,7 +71,7 @@ int main(int argc, char *argv[]) //Setting Core Application Name, Organization, and Version QCoreApplication::setApplicationName("EE-UQ"); QCoreApplication::setOrganizationName("SimCenter"); - QCoreApplication::setApplicationVersion("3.5.5"); + QCoreApplication::setApplicationVersion("3.6.0"); //Init resources from static libraries (e.g. SimCenterCommonQt or s3hark) Q_INIT_RESOURCE(images1); diff --git a/notarize.sh b/notarize.sh new file mode 100755 index 00000000..262cb5b0 --- /dev/null +++ b/notarize.sh @@ -0,0 +1,17 @@ +# remove & rebuild app and macdeploy it + +APP_NAME="EE_UQ" +APP_FILE="EE_UQ.app" +DMG_FILENAME="${APP_NAME}_Mac_Download.dmg" + +userID="userID.sh" + +source $userID + +echo "xcrun notarytool submit ./$DMG_FILENAME --apple-id $appleID --team-id $appleCredential --password $appleAppPassword" +echo "xcrun notarytool log ID --apple-id $appleID --team-id $appleCredential --password $appleAppPassword" +echo "" +echo "NO MORE EMAILS .. have to check the log file" +echo "" +echo "Finally staple the dmg" +echo "xcrun stapler staple \"$APP_NAME\" $DMG_FILENAME"