From dcb4bbb3e622f657f94e5ce3e79a1557281643cc Mon Sep 17 00:00:00 2001 From: ptitSeb Date: Sun, 18 Sep 2022 19:00:53 +0200 Subject: More fixes and improvment to bash handling (helps #360) --- src/include/fileutils.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/include') diff --git a/src/include/fileutils.h b/src/include/fileutils.h index 79da42bc..ff69e6da 100755 --- a/src/include/fileutils.h +++ b/src/include/fileutils.h @@ -18,6 +18,9 @@ int FileIsX86ELF(const char* filename); int FileIsX64ELF(const char* filename); int FileIsShell(const char* filename); +// return temp folder (will return /tmp if nothing is correct) +const char* GetTmpDir(); + #if defined(RPI) || defined(RK3399) || defined(RK3326) void sanitize_mojosetup_gtk_background(); #endif -- cgit 1.4.1