mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 12:28:02 +02:00
add launch.tester to user_actions
This commit is contained in:
parent
6da925a626
commit
929079df97
1 changed files with 2 additions and 0 deletions
|
@ -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.
|
// 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.
|
// 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 gpuIdent = GPUIdent::getInstance();
|
||||||
auto glContextData = getGLContextData();
|
auto glContextData = getGLContextData();
|
||||||
QJsonObject properties = {
|
QJsonObject properties = {
|
||||||
{ "version", applicationVersion() },
|
{ "version", applicationVersion() },
|
||||||
|
{ "tester", QProcessEnvironment::systemEnvironment().contains(TESTER) },
|
||||||
{ "previousSessionCrashed", _previousSessionCrashed },
|
{ "previousSessionCrashed", _previousSessionCrashed },
|
||||||
{ "previousSessionRuntime", sessionRunTime.get() },
|
{ "previousSessionRuntime", sessionRunTime.get() },
|
||||||
{ "cpu_architecture", QSysInfo::currentCpuArchitecture() },
|
{ "cpu_architecture", QSysInfo::currentCpuArchitecture() },
|
||||||
|
|
Loading…
Reference in a new issue