BuildConfig: Make Technic API base URL and build constants

This commit is contained in:
Jamie Mansfield
2022-01-09 23:02:32 +00:00
parent 7f2615b2a5
commit b6e722a048
3 changed files with 16 additions and 6 deletions

View File

@ -140,6 +140,12 @@ public:
QString ATL_DOWNLOAD_SERVER_URL = "https://download.nodecdn.net/containers/atl/";
QString TECHNIC_API_BASE_URL = "https://api.technicpack.net/";
/**
* The build that is reported to the Technic API.
*/
QString TECHNIC_API_BUILD = "multimc";
/**
* \brief Converts the Version to a string.
* \return The version number in string format (major.minor.revision.build).