aboutsummaryrefslogtreecommitdiff
path: root/launcher/Application.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'launcher/Application.cpp')
-rw-r--r--launcher/Application.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/launcher/Application.cpp b/launcher/Application.cpp
index ee27adea..099b49f1 100644
--- a/launcher/Application.cpp
+++ b/launcher/Application.cpp
@@ -1569,6 +1569,16 @@ shared_qobject_ptr<Meta::Index> Application::metadataIndex()
return m_metadataIndex;
}
+Application::Capabilities Application::currentCapabilities()
+{
+ Capabilities c;
+ if (!getMSAClientID().isEmpty())
+ c |= SupportsMSA;
+ if (!getFlameAPIKey().isEmpty())
+ c |= SupportsFlame;
+ return c;
+}
+
QString Application::getJarPath(QString jarFile)
{
QStringList potentialPaths = {