about summary refs log tree commit diff stats
path: root/src/include
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2022-09-08 09:59:58 +0200
committerptitSeb <sebastien.chev@gmail.com>2022-09-08 09:59:58 +0200
commit532b1697a60ed9a684b5f82b752208317aaaf1d6 (patch)
treeccb81b39e9f4e09e1c8f73e2e14d5c000aa93bc2 /src/include
parenta3f63a12f9102794ce1d94c972064f10a25e944b (diff)
downloadbox64-532b1697a60ed9a684b5f82b752208317aaaf1d6.tar.gz
box64-532b1697a60ed9a684b5f82b752208317aaaf1d6.zip
When running x86_64 bash, using x86_64 bash to run script automaticaly (for #402)
Diffstat (limited to 'src/include')
-rwxr-xr-xsrc/include/debug.h1
-rwxr-xr-xsrc/include/fileutils.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/include/debug.h b/src/include/debug.h
index 5f228f58..057d7898 100755
--- a/src/include/debug.h
+++ b/src/include/debug.h
@@ -41,6 +41,7 @@ extern int box64_prefer_wrapped;
 extern int box64_prefer_emulated;
 extern int box64_steam;
 extern int box64_wine;
+extern int box64_bash;
 extern int box64_musl;
 extern int box64_nopulse;   // disabling the use of wrapped pulseaudio
 extern int box64_nogtk; // disabling the use of wrapped gtk
diff --git a/src/include/fileutils.h b/src/include/fileutils.h
index 8332681e..79da42bc 100755
--- a/src/include/fileutils.h
+++ b/src/include/fileutils.h
@@ -16,6 +16,7 @@ char* ResolveFile(const char* filename, path_collection_t* paths);
 // 1: if file is an x86 elf, 0: if not (or not found)
 int FileIsX86ELF(const char* filename);
 int FileIsX64ELF(const char* filename);
+int FileIsShell(const char* filename);
 
 #if defined(RPI) || defined(RK3399) || defined(RK3326)
 void sanitize_mojosetup_gtk_background();