Differentiate Windows Store and Mac Store.

This commit is contained in:
John Preston 2019-06-03 13:54:25 +03:00
parent 271d929ad6
commit 3d38abce97
1 changed files with 5 additions and 2 deletions

View File

@ -828,9 +828,12 @@ void ConnectionPrivate::tryToSend() {
const auto systemVersion = (_dcType == DcType::Cdn)
? "n/a"
: _instance->systemVersion();
#if defined OS_MAC_STORE || defined OS_WIN_STORE
#if defined OS_MAC_STORE
const auto appVersion = QString::fromLatin1(AppVersionStr)
+ " store";
+ " mac store";
#elif defined OS_WIN_STORE // OS_MAC_STORE
const auto appVersion = QString::fromLatin1(AppVersionStr)
+ " win store";
#else // OS_MAC_STORE || OS_WIN_STORE
const auto appVersion = QString::fromLatin1(AppVersionStr);
#endif // OS_MAC_STORE || OS_WIN_STORE