diff options
author | Jamie Mansfield <jmansfield@cadixdev.org> | 2021-07-01 19:24:29 +0100 |
---|---|---|
committer | Jamie Mansfield <jmansfield@cadixdev.org> | 2021-07-13 15:15:33 +0100 |
commit | 20c393321c894adb4cb938a3f865f331c985cda9 (patch) | |
tree | bd95b40bc6c5ae81ca3ffab4ae1e40aca46874df /buildconfig/BuildConfig.h | |
parent | df1d3dbae2d11557e5b4d2ab9c5c1333a8af799e (diff) | |
download | PrismLauncher-20c393321c894adb4cb938a3f865f331c985cda9.tar.gz PrismLauncher-20c393321c894adb4cb938a3f865f331c985cda9.tar.bz2 PrismLauncher-20c393321c894adb4cb938a3f865f331c985cda9.zip |
NOISSUE Use constants for user agents
Here lies yet another early-stage move to debrand the MultiMC codebase,
as well as reducing the burden of updating strings across the codebase
for a future MultiMC6.
Diffstat (limited to 'buildconfig/BuildConfig.h')
-rw-r--r-- | buildconfig/BuildConfig.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/buildconfig/BuildConfig.h b/buildconfig/BuildConfig.h index 66d05ae0..07d7a23a 100644 --- a/buildconfig/BuildConfig.h +++ b/buildconfig/BuildConfig.h @@ -31,6 +31,11 @@ public: /// URL for the updater's channel QString CHANLIST_URL; + /// User-Agent to use. + QString USER_AGENT = "MultiMC/5.0"; + /// User-Agent to use for uncached requests. + QString USER_AGENT_UNCACHED = "MultiMC/5.0 (Uncached)"; + /// Google analytics ID QString ANALYTICS_ID; |