diff options
author | timoreo22 <timo.oreo34@gmail.com> | 2022-05-09 18:06:56 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-09 18:06:56 +0200 |
commit | 649b8ac7c6e12fcf91d204f908e027d3bfbb6a2a (patch) | |
tree | 51e6c30175f5bf6a1c1ab59eb36fdf8050bfb5cd /buildconfig | |
parent | f7f39854f83002f528c6f05a67f6a3b0500a8038 (diff) | |
parent | da25f3b84eeb61ca8638976a3100e23c5080ae28 (diff) | |
download | PrismLauncher-649b8ac7c6e12fcf91d204f908e027d3bfbb6a2a.tar.gz PrismLauncher-649b8ac7c6e12fcf91d204f908e027d3bfbb6a2a.tar.bz2 PrismLauncher-649b8ac7c6e12fcf91d204f908e027d3bfbb6a2a.zip |
Merge pull request #537 from PolyMC/stable
Merge stable into develop
Diffstat (limited to 'buildconfig')
-rw-r--r-- | buildconfig/BuildConfig.cpp.in | 1 | ||||
-rw-r--r-- | buildconfig/BuildConfig.h | 12 |
2 files changed, 8 insertions, 5 deletions
diff --git a/buildconfig/BuildConfig.cpp.in b/buildconfig/BuildConfig.cpp.in index 7360d964..70f8f7f0 100644 --- a/buildconfig/BuildConfig.cpp.in +++ b/buildconfig/BuildConfig.cpp.in @@ -90,6 +90,7 @@ Config::Config() HELP_URL = "@Launcher_HELP_URL@"; IMGUR_CLIENT_ID = "@Launcher_IMGUR_CLIENT_ID@"; MSA_CLIENT_ID = "@Launcher_MSA_CLIENT_ID@"; + CURSEFORGE_API_KEY = "@Launcher_CURSEFORGE_API_KEY@"; META_URL = "@Launcher_META_URL@"; BUG_TRACKER_URL = "@Launcher_BUG_TRACKER_URL@"; diff --git a/buildconfig/BuildConfig.h b/buildconfig/BuildConfig.h index c1d34708..a920a3d4 100644 --- a/buildconfig/BuildConfig.h +++ b/buildconfig/BuildConfig.h @@ -40,9 +40,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; @@ -75,7 +74,6 @@ public: /// URL for the updater's channel QString UPDATER_BASE; - /// User-Agent to use. QString USER_AGENT; @@ -118,6 +116,11 @@ public: QString MSA_CLIENT_ID; /** + * Client API key for CurseForge + */ + QString CURSEFORGE_API_KEY; + + /** * Metadata repository URL prefix */ QString META_URL; @@ -156,4 +159,3 @@ public: }; extern const Config BuildConfig; - |