summaryrefslogtreecommitdiff
path: root/pdf-over-gui/src/main/resources/installer-mac
diff options
context:
space:
mode:
authorJakob Heher <jakob.heher@iaik.tugraz.at>2022-11-24 14:14:37 +0100
committerJakob Heher <jakob.heher@iaik.tugraz.at>2022-11-24 14:14:37 +0100
commitf39ab43fc0120b7fa97028d40acd7851de8d4a99 (patch)
tree335caaa8b701395bae64fbf67ca9afb1776ae658 /pdf-over-gui/src/main/resources/installer-mac
parenta4dd755534013449be5573102114d8dcfccba159 (diff)
downloadpdf-over-master.tar.gz
pdf-over-master.tar.bz2
pdf-over-master.zip
Repository moved to GitHub: https://github.com/a-sit/pdf-overHEADmaster
Diffstat (limited to 'pdf-over-gui/src/main/resources/installer-mac')
-rw-r--r--pdf-over-gui/src/main/resources/installer-mac/background.pngbin2389 -> 0 bytes
-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
-rw-r--r--pdf-over-gui/src/main/resources/installer-mac/signscript.sh62
5 files changed, 0 insertions, 65 deletions
diff --git a/pdf-over-gui/src/main/resources/installer-mac/background.png b/pdf-over-gui/src/main/resources/installer-mac/background.png
deleted file mode 100644
index 0d6edaf3..00000000
--- a/pdf-over-gui/src/main/resources/installer-mac/background.png
+++ /dev/null
Binary files differ
diff --git a/pdf-over-gui/src/main/resources/installer-mac/notarizeAppCommand.sh b/pdf-over-gui/src/main/resources/installer-mac/notarizeAppCommand.sh
deleted file mode 100644
index 6fdbfccc..00000000
--- a/pdf-over-gui/src/main/resources/installer-mac/notarizeAppCommand.sh
+++ /dev/null
@@ -1 +0,0 @@
-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
deleted file mode 100644
index 2230d806..00000000
--- a/pdf-over-gui/src/main/resources/installer-mac/notarizeCheckSingleCommand.sh
+++ /dev/null
@@ -1 +0,0 @@
-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
deleted file mode 100644
index d84ecd2c..00000000
--- a/pdf-over-gui/src/main/resources/installer-mac/notarizeHistoryCommand.sh
+++ /dev/null
@@ -1 +0,0 @@
-xcrun altool --notarization-history 0 --username "$ALTOOL_USERNAME" --password "$ALTOOL_PASSWORD"
diff --git a/pdf-over-gui/src/main/resources/installer-mac/signscript.sh b/pdf-over-gui/src/main/resources/installer-mac/signscript.sh
deleted file mode 100644
index f9ee49f6..00000000
--- a/pdf-over-gui/src/main/resources/installer-mac/signscript.sh
+++ /dev/null
@@ -1,62 +0,0 @@
-#!/bin/sh
-
-# from: https://developer.apple.com/forums/thread/130855
-# Fail if any command fails.
-
-set -e
-
-# Check and unpack the arguments.
-
-if [ $# -ne 1 ]
-then
- echo "usage: package-archive.sh /path/to.xcarchive" > /dev/stderr
- exit 1
-fi
-ARCHIVE="$1"
-
-# Establish a work directory, create a disk image root directory within
-# that, and then copy the app there.
-#
-# Note we use `-R`, not `-r`, to preserve symlinks.
-
-WORKDIR="pdf-over-`date '+%Y-%m-%d_%H.%M.%S'`"
-DMGROOT="${WORKDIR}/PDF-Over"
-APP="${WORKDIR}/PDF-Over/PDF-Over.app"
-DMG="${WORKDIR}/pdf-over.dmg"
-
-mkdir -p "${DMGROOT}"
-cp -R "${ARCHIVE}/PDF-Over.app" "${DMGROOT}/"
-
-# When you use `-f` to replace a signature, `codesign` prints `replacing
-# existing signature`. There's no option to suppress that. The message
-# goes to `stderr` so you don't want to redirect it to `/dev/null` because
-# there might be other interesting stuff logged to `stderr`. One way to
-# prevent it is to remove the signature beforehand, as shown by the
-# following lines. It does slow things down a bunch though, so I've made
-# it easy to disable them.
-
-if true
-then
- codesign --remove-signature "${APP}/Contents/MacOS/PDF-Over"
- codesign --remove-signature "${APP}"
-fi
-
-
-
-codesign -s "Developer ID Application: SIT Zentrum fuer sichere Informationstechnologie-Austria (9CYHJNG644)" -f -vvvv --timestamp -o runtime "${APP}/Contents/MacOS/PDF-Over"
-#codesign -s "Developer ID Application: SIT Zentrum fuer sichere Informationstechnologie-Austria (9CYHJNG644)" -f --timestamp -o runtime "${APP}/Contents/Resources/bin/mocca.jar/BKULocal.war/WEB-INF/lib/smcc-1.4.2.jar/at/gv/egiz/smcc/osx-pcsc-jni/jre6.libosxj2pcsc.dylib"
-#codesign -s "Developer ID Application: SIT Zentrum fuer sichere Informationstechnologie-Austria (9CYHJNG644)" -f --timestamp -o runtime "${APP}/Contents/Resources/bin/mocca.jar/BKULocal.war/WEB-INF/lib/smcc-1.4.2.jar/at/gv/egiz/smcc/osx-pcsc-jni/jre8.libosxj2pcsc.dylib"
-#codesign -s "Developer ID Application: SIT Zentrum fuer sichere Informationstechnologie-Austria (9CYHJNG644)" -f --timestamp -o runtime "${APP}/Contents/Resources/bin/mocca.jar/BKULocal.war/WEB-INF/lib/smcc-1.4.2.jar/at/gv/egiz/smcc/osx-pcsc-jni/jre7.libosxj2pcsc.dylib"
-codesign -s "Developer ID Application: SIT Zentrum fuer sichere Informationstechnologie-Austria (9CYHJNG644)" -f --timestamp -o runtime "${APP}"
-
-
-# Create a disk image from our disk image root directory.
-
-hdiutil create -srcFolder "${DMGROOT}" -quiet -o "${DMG}"
-
-# Sign that.
-
-codesign -s "Developer ID Application: SIT Zentrum fuer sichere Informationstechnologie-Austria (9CYHJNG644)" -vvvv --timestamp -i at.egiz.PDF-Over "${DMG}"
-
-echo "finished signing script!"
-echo "${DMG}"