blob: 0945ac5b395264ca7994af50f1b69fa33c0f00f8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
diff -Naur foxitreader.orig/FoxitReader.desktop foxitreader/FoxitReader.desktop
--- foxitreader.orig/FoxitReader.desktop 2018-02-13 18:54:39.000000000 +0100
+++ foxitreader/FoxitReader.desktop 2022-08-18 02:50:04.566652295 +0200
@@ -1,10 +1,12 @@
[Desktop Entry]
Name=Foxit Reader
-Comment=View pdf documents
+Comment=View PDF documents
Keywords=pdf;ppdf;
StartupNotify=true
Terminal=false
Type=Application
Categories=Application;Office;Viewer;X-Red-Hat-Base;
MimeType=application/pdf;application/ppdf;
-Icon=FoxitReader
+Icon=foxitreader
+Exec=foxitreader %F
+
diff -Naur foxitreader.orig/FoxitReader.sh foxitreader/FoxitReader.sh
--- foxitreader.orig/FoxitReader.sh 2018-02-13 16:57:48.000000000 +0100
+++ foxitreader/FoxitReader.sh 2022-08-18 02:49:34.863585222 +0200
@@ -1,3 +1,6 @@
#!/bin/sh
- appname="FoxitReader"
+appname="FoxitReader"
+selfpath="$(dirname $(readlink -f "$0"))"
+export LD_LIBRARY_PATH="${selfpath}/lib:${selfpath}/platforms:${selfpath}/printsupport:${selfpath}/rmssdk:${selfpath}/sensors:${selfpath}/imageformats:${selfpath}/platforminputcontexts"
+exec "${selfpath}/${appname}" "$@"
|