Detect steamwebhelper and don't load it for now (until it's actually fixed)

This commit is contained in:
ptitSeb 2021-10-24 19:07:55 +02:00
parent 2bd3a3ccfa
commit d052b35c40

View File

@ -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]);