Skip to content
This repository has been archived by the owner on Feb 13, 2024. It is now read-only.

Commit

Permalink
Improved os tracking text format (lib)
Browse files Browse the repository at this point in the history
  • Loading branch information
IndrekV committed Jan 29, 2018
1 parent c68f5b5 commit cbd4915
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/context.cc
Original file line number Diff line number Diff line change
Expand Up @@ -283,10 +283,11 @@ error Context::StartEvents() {

analytics_.TrackChannel(db_->AnalyticsClientID(), update_channel);

// Track user os version
std::stringstream os_info;
os_info << Poco::Environment::osName()
<< Poco::Environment::osVersion()
<< Poco::Environment::osArchitecture();
os_info << Poco::Environment::osDisplayName()
<< "_" << Poco::Environment::osVersion()
<< "_" << Poco::Environment::osArchitecture();

analytics_.TrackOs(db_->AnalyticsClientID(), os_info.str());
}
Expand Down

0 comments on commit cbd4915

Please sign in to comment.