aboutsummaryrefslogtreecommitdiffstats
path: root/dist
diff options
context:
space:
mode:
authorprobonopd <probonopd@users.noreply.github.com>2017-11-03 21:56:04 +0100
committerJay Berkenbilt <ejb@ql.org>2018-02-18 05:35:42 +0100
commit83d82a85d01b2e1e727babbce851a121bf110a50 (patch)
treef588f95bcf01ea6e013ab58f021908e3ac33f852 /dist
parent2ebdd6929ea15187cdcf72acb19e8cc3047702f9 (diff)
downloadqpdf-83d82a85d01b2e1e727babbce851a121bf110a50.tar.zst
Contributed AppImage and .travis.yml support
Diffstat (limited to 'dist')
-rw-r--r--dist/AppRun19
-rw-r--r--dist/qpdf.desktop7
-rw-r--r--dist/qpdf.pngbin0 -> 4870 bytes
3 files changed, 26 insertions, 0 deletions
diff --git a/dist/AppRun b/dist/AppRun
new file mode 100644
index 00000000..8a2e5935
--- /dev/null
+++ b/dist/AppRun
@@ -0,0 +1,19 @@
+#!/bin/bash
+
+# The purpose of this custom AppRun script is
+# to allow symlinking the AppImage and invoking
+# the corresponding binary depending on which
+# symlink was used to invoke the AppImage
+
+HERE="$(dirname "$(readlink -f "${0}")")"
+
+if [ ! -z $APPIMAGE ] ; then
+ BINARY_NAME=$(basename "$ARGV0")
+ if [ -e "$HERE/usr/bin/$BINARY_NAME" ] ; then
+ exec "$HERE/usr/bin/$BINARY_NAME" "$@"
+ else
+ exec "$HERE/usr/bin/qpdf" "$@"
+ fi
+else
+ exec "$HERE/usr/bin/qpdf" "$@"
+fi
diff --git a/dist/qpdf.desktop b/dist/qpdf.desktop
new file mode 100644
index 00000000..b030a6db
--- /dev/null
+++ b/dist/qpdf.desktop
@@ -0,0 +1,7 @@
+[Desktop Entry]
+Type=Application
+Terminal=true
+Exec=qpdf
+Name=QPDF
+Comment=Structural, content-preserving transformations on PDF files
+Icon=qpdf
diff --git a/dist/qpdf.png b/dist/qpdf.png
new file mode 100644
index 00000000..f7a46c6f
--- /dev/null
+++ b/dist/qpdf.png
Binary files differ