NOISSUE add linux distro name and release stats to analytics
Hopefully this can serve as some sort of guideline for focusing effort towards the right distro packages to make.
This commit is contained in:
parent
b497aee920
commit
82208be49e
10 changed files with 420 additions and 1 deletions
|
@ -1156,6 +1156,15 @@ MainWindow* MultiMC::showMainWindow(bool minimized)
|
|||
auto kernelInfo = Sys::getKernelInfo();
|
||||
customValues["cd5"] = kernelInfo.kernelName;
|
||||
customValues["cd6"] = kernelInfo.kernelVersion;
|
||||
auto distInfo = Sys::getDistributionInfo();
|
||||
if(!distInfo.distributionName.isEmpty())
|
||||
{
|
||||
customValues["cd7"] = distInfo.distributionName;
|
||||
}
|
||||
if(!distInfo.distributionVersion.isEmpty())
|
||||
{
|
||||
customValues["cd8"] = distInfo.distributionVersion;
|
||||
}
|
||||
m_analytics->sendScreenView("Main Window", customValues);
|
||||
}
|
||||
return m_mainWindow;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue