File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -39,6 +39,11 @@ export LD_LIBRARY_PATH="${APPDIR}/usr/lib:${LD_LIBRARY_PATH}"
39
39
export XDG_DATA_DIRS=" ${APPDIR} /usr/share:${XDG_DATA_DIRS} "
40
40
export GSETTINGS_SCHEMA_DIR=" ${APPDIR} /usr/share/glib-2.0/schemas:${GSETTINGS_SCHEMA_DIR} "
41
41
42
+ DESKTOP_FILE=$( find " $APPDIR " -maxdepth 1 -name " *.desktop" | head -n 1)
43
+ DESKTOP_FILE_NAME=$( basename " ${DESKTOP_FILE} " )
44
+ APP=" ${DESKTOP_FILE_NAME% .* } "
45
+ BIN=" $APPDIR /usr/bin/$APP "
46
+
42
47
trap atexit EXIT
43
48
44
49
# Note that the following handles 0, 1 or more arguments (file paths)
@@ -124,11 +129,6 @@ check_dep xdg-icon-resource
124
129
check_dep xdg-mime
125
130
check_dep xdg-desktop-menu
126
131
127
- DESKTOP_FILE=$( find " $APPDIR " -maxdepth 1 -name " *.desktop" | head -n 1)
128
- DESKTOP_FILE_NAME=$( basename " ${DESKTOP_FILE} " )
129
- APP=" ${DESKTOP_FILE_NAME% .* } "
130
- BIN=" $APPDIR /usr/bin/$APP "
131
-
132
132
if [ ! -f " $DESKTOP_FILE " ] ; then
133
133
echo " Desktop file is missing. Please run ${THIS} from within an AppImage."
134
134
exit 0
You can’t perform that action at this time.
0 commit comments