mirror of
https://github.com/moonlight-stream/moonlight-qt
synced 2024-12-14 13:22:27 +00:00
Fix update checker on macOS with Qt 6.0 builds
This commit is contained in:
parent
1d5c120748
commit
5399b95936
1 changed files with 4 additions and 0 deletions
|
@ -63,6 +63,10 @@ QString AutoUpdateChecker::getPlatform()
|
|||
return QStringLiteral("steamlink");
|
||||
#elif defined(APP_IMAGE)
|
||||
return QStringLiteral("appimage");
|
||||
#elif defined(Q_OS_DARWIN) && QT_VERSION >= QT_VERSION_CHECK(6, 0, 0)
|
||||
// Qt 6 changed this from 'osx' to 'macos'. Use the old one
|
||||
// to be consistent (and not require another entry in the manifest).
|
||||
return QStringLiteral("osx");
|
||||
#else
|
||||
return QSysInfo::productType();
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue