From d71666f33744931344b936c1f0b30079e9f88c6f Mon Sep 17 00:00:00 2001 From: howard-stearns Date: Tue, 20 Jun 2017 09:59:15 -0700 Subject: [PATCH] Remove useless command line arg for steam, but add one for version. --- interface/src/Application.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/interface/src/Application.cpp b/interface/src/Application.cpp index a4d28b6055..6b958b08c1 100644 --- a/interface/src/Application.cpp +++ b/interface/src/Application.cpp @@ -462,10 +462,8 @@ bool setupEssentials(int& argc, char** argv, bool runningMarkerExisted) { auto version = DependencyManager::get()->protocolVersion(); fputs(version.toLatin1().data(), fp); }); - reportAndQuit("--installationPortal", [&](FILE* fp) { - auto steamClient = PluginManager::getInstance()->getSteamClientPlugin(); - bool isSteam = steamClient && steamClient->init(); - fputs(isSteam ? "steam" : "download", fp); + reportAndQuit("--version", [&](FILE* fp) { + fputs(BuildInfo::VERSION.toLatin1().data(), fp); }); const char* portStr = getCmdOption(argc, constArgv, "--listenPort");