mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-02-16 20:15:38 +00:00
(Android) Added support for running custom event scripts
This commit is contained in:
parent
c42c009c59
commit
e1322d711b
|
@ -89,7 +89,11 @@ namespace Scripting
|
||||||
.append(arg4)
|
.append(arg4)
|
||||||
.append(arg4Quotation);
|
.append(arg4Quotation);
|
||||||
LOG(LogDebug) << "Executing: " << script;
|
LOG(LogDebug) << "Executing: " << script;
|
||||||
|
#if defined(__ANDROID__)
|
||||||
|
Utils::Platform::runSystemCommand("sh " + script);
|
||||||
|
#else
|
||||||
Utils::Platform::runSystemCommand(script);
|
Utils::Platform::runSystemCommand(script);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue