We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5ef1192 commit 9091818Copy full SHA for 9091818
files/usr/bin/xapp-appimage-thumbnailer
@@ -6,6 +6,9 @@ import sys
6
import tempfile
7
from elftools.elf.elffile import ELFFile
8
9
+gi.require_version("XApp", "1.0")
10
+from gi.repository import XApp
11
+
12
import XappThumbnailers
13
t = XappThumbnailers.Thumbnailer()
14
@@ -42,7 +45,7 @@ while True:
42
45
icon_path = icon_path[2:]
43
46
44
47
# Extract the icon
-with tempfile.TemporaryDirectory() as tmpdir:
48
+with tempfile.TemporaryDirectory(dir=XApp.get_tmp_dir()) as tmpdir:
49
outdir = os.path.join(tmpdir, 'out')
50
cmd = [
51
'unsquashfs',
0 commit comments