NOISSUE Specify support URLs at build time
Support URLs (bug tracker, Discord guild, subreddit) are now specified as cache variables in cmake, and the buttons are not shown if no value is set for them. This is an early-stage move towards debranding the MultiMC codebase, and will (hopefully) alleviate support requests coming to us from illicit forks.
This commit is contained in:
parent
9fafe3ffe6
commit
40f41e5fbe
4 changed files with 47 additions and 24 deletions
|
@ -34,6 +34,10 @@ Config::Config()
|
|||
NEWS_RSS_URL = "@MultiMC_NEWS_RSS_URL@";
|
||||
PASTE_EE_KEY = "@MultiMC_PASTE_EE_API_KEY@";
|
||||
META_URL = "@MultiMC_META_URL@";
|
||||
|
||||
BUG_TRACKER_URL = "@MultiMC_BUG_TRACKER_URL@";
|
||||
DISCORD_URL = "@MultiMC_DISCORD_URL@";
|
||||
SUBREDDIT_URL = "@MultiMC_SUBREDDIT_URL@";
|
||||
}
|
||||
|
||||
QString Config::printableVersionString() const
|
||||
|
|
|
@ -65,6 +65,10 @@ public:
|
|||
*/
|
||||
QString META_URL;
|
||||
|
||||
QString BUG_TRACKER_URL;
|
||||
QString DISCORD_URL;
|
||||
QString SUBREDDIT_URL;
|
||||
|
||||
QString RESOURCE_BASE = "https://resources.download.minecraft.net/";
|
||||
QString LIBRARY_BASE = "https://libraries.minecraft.net/";
|
||||
QString SKINS_BASE = "https://crafatar.com/skins/";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue