mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-06-29 01:54:20 +03:00
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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue