shared/gui: Add LOOQS_DISABLE_SANDBOX env to allow disabling sandboxing

Mainly for devs to check whether a problem is caused by sandboxing.
This commit is contained in:
2022-06-06 23:18:58 +02:00
förälder 67189f34c6
incheckning 87ebc137d5
5 ändrade filer med 26 tillägg och 1 borttagningar

Visa fil

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