diff options
author | Ryan Cao <70191398+ryanccn@users.noreply.github.com> | 2022-05-08 15:22:50 +0800 |
---|---|---|
committer | Ryan Cao <70191398+ryanccn@users.noreply.github.com> | 2022-05-08 15:22:50 +0800 |
commit | 22f5128e398f34f01f78751008aca594fa7a7eee (patch) | |
tree | 7487565dbee6b9c4fbab59fddea136a8f579708a /buildconfig/BuildConfig.h | |
parent | ae1aa6f63eb5f82788b3ff638becd8b6a9a44c74 (diff) | |
download | PrismLauncher-22f5128e398f34f01f78751008aca594fa7a7eee.tar.gz PrismLauncher-22f5128e398f34f01f78751008aca594fa7a7eee.tar.bz2 PrismLauncher-22f5128e398f34f01f78751008aca594fa7a7eee.zip |
adopt changes from #497 remapped
Diffstat (limited to 'buildconfig/BuildConfig.h')
-rw-r--r-- | buildconfig/BuildConfig.h | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/buildconfig/BuildConfig.h b/buildconfig/BuildConfig.h index 6304387c..a653e3cf 100644 --- a/buildconfig/BuildConfig.h +++ b/buildconfig/BuildConfig.h @@ -39,9 +39,8 @@ /** * \brief The Config class holds all the build-time information passed from the build system. */ -class Config -{ -public: +class Config { + public: Config(); QString LAUNCHER_NAME; QString LAUNCHER_DISPLAYNAME; @@ -74,7 +73,6 @@ public: /// URL for the updater's channel QString UPDATER_BASE; - /// User-Agent to use. QString USER_AGENT; @@ -117,6 +115,11 @@ public: QString MSA_CLIENT_ID; /** + * Client API key for CurseForge + */ + QString CURSEFORGE_API_KEY; + + /** * Metadata repository URL prefix */ QString META_URL; @@ -154,4 +157,3 @@ public: }; extern const Config BuildConfig; - |