summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakob Heher <jakob.heher@iaik.tugraz.at>2022-06-03 10:18:44 +0200
committerJakob Heher <jakob.heher@iaik.tugraz.at>2022-06-03 10:18:44 +0200
commitc6c9ed1d1eee00976667cec5e86aae742308240c (patch)
treef515ec4d1f992b1c84b64c1a5ae3dd58258d9927
parentb300c412c3b37dc10812d9558bba8a44abf04473 (diff)
downloadpdf-over-c6c9ed1d1eee00976667cec5e86aae742308240c.tar.gz
pdf-over-c6c9ed1d1eee00976667cec5e86aae742308240c.tar.bz2
pdf-over-c6c9ed1d1eee00976667cec5e86aae742308240c.zip
add mac notarization scripts to bundle
-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"