summaryrefslogtreecommitdiff
path: root/pdf-over-gui/src/main/resources/scripts/postinstall_mac.sh
diff options
context:
space:
mode:
Diffstat (limited to 'pdf-over-gui/src/main/resources/scripts/postinstall_mac.sh')
-rw-r--r--pdf-over-gui/src/main/resources/scripts/postinstall_mac.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/pdf-over-gui/src/main/resources/scripts/postinstall_mac.sh b/pdf-over-gui/src/main/resources/scripts/postinstall_mac.sh
new file mode 100644
index 00000000..76d860cf
--- /dev/null
+++ b/pdf-over-gui/src/main/resources/scripts/postinstall_mac.sh
@@ -0,0 +1,7 @@
+#!/bin/sh
+BASEDIR=$(cd "$(dirname "$0")"; pwd)
+export LC_CTYPE="UTF-8"
+cd "$BASEDIR"
+chmod a+x pdf-over_mac.sh
+cd ..
+osacompile -e "do shell script \"$BASEDIR/pdf-over_mac.sh\"" -x -o PDF-Over.app