Using MS/Apple official names for stores (#8959)
This commit is contained in:
parent
12a77cffd8
commit
60f91ebce4
|
@ -634,18 +634,18 @@ void SessionPrivate::tryToSend() {
|
||||||
: _instance->systemVersion();
|
: _instance->systemVersion();
|
||||||
#if defined OS_MAC_STORE
|
#if defined OS_MAC_STORE
|
||||||
const auto appVersion = QString::fromLatin1(AppVersionStr)
|
const auto appVersion = QString::fromLatin1(AppVersionStr)
|
||||||
+ " mac store";
|
+ " Mac App Store";
|
||||||
#elif defined OS_WIN_STORE // OS_MAC_STORE
|
#elif defined OS_WIN_STORE // OS_MAC_STORE
|
||||||
const auto appVersion = QString::fromLatin1(AppVersionStr)
|
const auto appVersion = QString::fromLatin1(AppVersionStr)
|
||||||
+ " win store";
|
+ " Microsoft Store";
|
||||||
#elif defined Q_OS_UNIX && !defined Q_OS_MAC // OS_MAC_STORE || OS_WIN_STORE
|
#elif defined Q_OS_UNIX && !defined Q_OS_MAC // OS_MAC_STORE || OS_WIN_STORE
|
||||||
const auto appVersion = [] {
|
const auto appVersion = [] {
|
||||||
if (Platform::InFlatpak()) {
|
if (Platform::InFlatpak()) {
|
||||||
return QString::fromLatin1(AppVersionStr)
|
return QString::fromLatin1(AppVersionStr)
|
||||||
+ " flatpak";
|
+ " Flatpak";
|
||||||
} else if (Platform::InSnap()) {
|
} else if (Platform::InSnap()) {
|
||||||
return QString::fromLatin1(AppVersionStr)
|
return QString::fromLatin1(AppVersionStr)
|
||||||
+ " snap";
|
+ " Snap";
|
||||||
}
|
}
|
||||||
return QString::fromLatin1(AppVersionStr);
|
return QString::fromLatin1(AppVersionStr);
|
||||||
}();
|
}();
|
||||||
|
|
Loading…
Reference in New Issue