3
0
Fork 0
mirror of https://github.com/JulianGro/overte.git synced 2025-04-30 16:03:23 +02:00

Merge pull request from zzmp/feat/tester-flag

Add launch.tester to user_actions
This commit is contained in:
Brad Hefta-Gaub 2017-05-10 11:58:24 -07:00 committed by GitHub
commit f91f42b0c8

View file

@ -941,10 +941,12 @@ Application::Application(int& argc, char** argv, QElapsedTimer& startupTimer, bo
// sessionRunTime will be reset soon by loadSettings. Grab it now to get previous session value.
// The value will be 0 if the user blew away settings this session, which is both a feature and a bug.
static const QString TESTER = "HIFI_TESTER";
auto gpuIdent = GPUIdent::getInstance();
auto glContextData = getGLContextData();
QJsonObject properties = {
{ "version", applicationVersion() },
{ "tester", QProcessEnvironment::systemEnvironment().contains(TESTER) },
{ "previousSessionCrashed", _previousSessionCrashed },
{ "previousSessionRuntime", sessionRunTime.get() },
{ "cpu_architecture", QSysInfo::currentCpuArchitecture() },