shared/gui: Add LOOQS_DISABLE_SANDBOX env to allow disabling sandboxing

Mainly for devs to check whether a problem is caused by sandboxing.
Αυτή η υποβολή περιλαμβάνεται σε:
2022-06-06 23:18:58 +02:00
γονέας 67189f34c6
υποβολή 87ebc137d5
5 αρχεία άλλαξαν με 26 προσθήκες και 1 διαγραφές

@ -58,7 +58,14 @@ int main(int argc, char *argv[])
if(arg == "ipc")
{
Common::setupAppInfo();
enableIpcSandbox();
if(Common::noSandboxModeRequested())
{
qInfo() << "Launching with no sandbox!" << Qt::endl;
}
else
{
enableIpcSandbox();
}
QApplication a(argc, argv);
IpcServer *ipcserver = new IpcServer();