From f698352c3379b27e338c054e078e70eac9ff4de5 Mon Sep 17 00:00:00 2001 From: Jakob Heher Date: Fri, 29 Apr 2022 12:41:46 +0200 Subject: other pom cleanups: - auto-extract bundled jre - auto-build zip archive - only build jar installer for linux - only include icons where necessary --- .../src/main/resources/scripts/postinstall_mac.sh | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100644 pdf-over-gui/src/main/resources/scripts/postinstall_mac.sh (limited to 'pdf-over-gui/src/main/resources/scripts/postinstall_mac.sh') diff --git a/pdf-over-gui/src/main/resources/scripts/postinstall_mac.sh b/pdf-over-gui/src/main/resources/scripts/postinstall_mac.sh deleted file mode 100644 index 0b020ea3..00000000 --- a/pdf-over-gui/src/main/resources/scripts/postinstall_mac.sh +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/sh -SCRIPTDIR=$(cd "$(dirname "$0")"; pwd) -BASEDIR=$(cd "$(dirname "$0")/.."; pwd) -export LC_CTYPE="UTF-8" -cd "$SCRIPTDIR" -chmod a+x pdf-over_mac.sh -cd "$BASEDIR" -if [ -d "$BASEDIR.app" ]; then - osacompile -e "do shell script \"$SCRIPTDIR/pdf-over_mac.sh\"" -x -o PDF-Over.app - cp -f icons/icon.icns PDF-Over.app/Contents/Resources/applet.icns -else - osacompile -e "do shell script \"$BASEDIR.app/Contents/scripts/pdf-over_mac.sh\"" -x -o "$BASEDIR.app" - cp -f icons/icon.icns "$BASEDIR.app"/Contents/Resources/applet.icns - mv "$BASEDIR"/* "$BASEDIR.app"/Contents/ - rmdir "$BASEDIR" - ln -s "$BASEDIR.app" "$BASEDIR" -fi -- cgit v1.2.3