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.
This commit is contained in:
Jamie Mansfield
2021-07-01 19:24:29 +01:00
parent df1d3dbae2
commit 20c393321c
5 changed files with 11 additions and 4 deletions

View File

@ -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;