File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -185,12 +185,12 @@ APPIMAGE_GTK_THEME="${APPIMAGE_GTK_THEME:-"Adwaita:$GTK_THEME_VARIANT"}" # Allow
185
185
# in case we run from an AppImage, we use the $APPDIR environment variable as a template for the temporary directory that should be created
186
186
# this allows users to attribute the tempdir to the running AppImage
187
187
if [ "$APPDIR " != "" ]; then
188
- tempdir_template="$APPDIR ".ld-p-gtk-tmp
188
+ tempdir_template="$APPDIR ".ld-p-gtk-tmp-XXXXXX
189
189
else
190
190
tempdir_template=/tmp/.ld-p-gtk-tmp-XXXXXX
191
191
fi
192
192
193
- CACHEDIR="$( mktemp -d " $tempdir_template " ) "
193
+ export CACHEDIR="$( mktemp -d " $tempdir_template " ) "
194
194
195
195
export APPDIR="${APPDIR:- " $( dirname " $( realpath " $0 " ) " ) " } " # Workaround to run extracted AppImage
196
196
export GTK_DATA_PREFIX="$APPDIR "
You can’t perform that action at this time.
0 commit comments