shared/gui: Add LOOQS_DISABLE_SANDBOX env to allow disabling sandboxing

Mainly for devs to check whether a problem is caused by sandboxing.
Tá an tiomantas seo le fáil i:
2022-06-06 23:18:58 +02:00
tuismitheoir 67189f34c6
tiomantas 87ebc137d5
D'athraigh 5 comhad le 26 breiseanna agus 1 scriosta

Féach ar an gComhad

@ -27,6 +27,11 @@ static QMap<QString, Processor *> processors{
void SandboxedProcessor::enableSandbox(QString readablePath)
{
if(Common::noSandboxModeRequested())
{
qInfo() << "Sandbox is disabled!" << Qt::endl;
return;
}
struct exile_policy *policy = exile_init_policy();
if(policy == NULL)
{