about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2021-10-24 19:07:55 +0200
committerptitSeb <sebastien.chev@gmail.com>2021-10-24 19:07:55 +0200
commitd052b35c4077a9b973a83621ec51a5c61a6aff82 (patch)
treec6f49cabe10b7ff877aa528c72255303a52b1b49 /src
parent2bd3a3ccfae661e764ba8dded64dcf8203704728 (diff)
downloadbox64-d052b35c4077a9b973a83621ec51a5c61a6aff82.tar.gz
box64-d052b35c4077a9b973a83621ec51a5c61a6aff82.zip
Detect steamwebhelper and don't load it for now (until it's actually fixed)
Diffstat (limited to 'src')
-rwxr-xr-xsrc/main.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index b00618d7..75aa4918 100755
--- a/src/main.c
+++ b/src/main.c
@@ -911,6 +911,11 @@ int main(int argc, const char **argv, const char **env) {
         printf_log(LOG_INFO, "steam-runtime-check-requirements detected, faking All is good!\n");
         exit(0);    // exiting, not testing anything
     }
+    // special case for steam-runtime-check-requirements to fake 64bits suport
+    if(strstr(prgname, "steamwebhelper")==prgname) {
+        printf_log(LOG_INFO, "steamwebhelper, ignoring for now!\n");
+        exit(0);    // exiting
+    }
     // special case for UnrealLinux.bin, it doesn't like "full path resolution"
     if(!strcmp(prog, "UnrealLinux.bin") && my_context->argv[0]) {
         free(my_context->argv[0]);