(Android) Added support for running custom event scripts

This commit is contained in:
Leon Styhre 2023-12-23 21:14:59 +01:00
parent c42c009c59
commit e1322d711b

View file

@ -89,7 +89,11 @@ namespace Scripting
.append(arg4)
.append(arg4Quotation);
LOG(LogDebug) << "Executing: " << script;
#if defined(__ANDROID__)
Utils::Platform::runSystemCommand("sh " + script);
#else
Utils::Platform::runSystemCommand(script);
#endif
}
}
}