summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pdf-over-gui/src/main/resources/installer-mac/notarizeAppCommand.sh1
-rw-r--r--pdf-over-gui/src/main/resources/installer-mac/notarizeCheckSingleCommand.sh1
-rw-r--r--pdf-over-gui/src/main/resources/installer-mac/notarizeHistoryCommand.sh1
3 files changed, 3 insertions, 0 deletions
diff --git a/pdf-over-gui/src/main/resources/installer-mac/notarizeAppCommand.sh b/pdf-over-gui/src/main/resources/installer-mac/notarizeAppCommand.sh
new file mode 100644
index 00000000..6fdbfccc
--- /dev/null
+++ b/pdf-over-gui/src/main/resources/installer-mac/notarizeAppCommand.sh
@@ -0,0 +1 @@
+xcrun altool --notarize-app --primary-bundle-id "at.egiz.PDF-Over" --username "$ALTOOL_USERNAME" --password "$ALTOOL_PASSWORD" --file $1
diff --git a/pdf-over-gui/src/main/resources/installer-mac/notarizeCheckSingleCommand.sh b/pdf-over-gui/src/main/resources/installer-mac/notarizeCheckSingleCommand.sh
new file mode 100644
index 00000000..2230d806
--- /dev/null
+++ b/pdf-over-gui/src/main/resources/installer-mac/notarizeCheckSingleCommand.sh
@@ -0,0 +1 @@
+xcrun altool --notarization-info $1 --username "$ALTOOL_USERNAME" --password "$ALTOOL_PASSWORD"
diff --git a/pdf-over-gui/src/main/resources/installer-mac/notarizeHistoryCommand.sh b/pdf-over-gui/src/main/resources/installer-mac/notarizeHistoryCommand.sh
new file mode 100644
index 00000000..d84ecd2c
--- /dev/null
+++ b/pdf-over-gui/src/main/resources/installer-mac/notarizeHistoryCommand.sh
@@ -0,0 +1 @@
+xcrun altool --notarization-history 0 --username "$ALTOOL_USERNAME" --password "$ALTOOL_PASSWORD"