add overwrite of some mojang urls

Signed-off-by: wohaopa <2411829240@qq.com>
This commit is contained in:
初夏同学
2023-10-16 22:54:01 +08:00
parent e6cc3f1af1
commit 90599e8f73
8 changed files with 109 additions and 5 deletions

View File

@ -119,6 +119,9 @@ Config::Config()
DISCORD_URL = "@Launcher_DISCORD_URL@";
SUBREDDIT_URL = "@Launcher_SUBREDDIT_URL@";
RESOURCE_BASE = "@Launcher_RESOURCE_BASE@";
LIBRARY_BASE = "@Launcher_LIBRARY_BASE@";
FMLLIBS_BASE_URL = "@Launcher_FMLLIBS_BASE_URL@";
TRANSLATIONS_BASE_URL = "@Launcher_TRANSLATIONS_BASE_URL@";
}

View File

@ -143,8 +143,8 @@ class Config {
QString DISCORD_URL;
QString SUBREDDIT_URL;
QString RESOURCE_BASE = "https://resources.download.minecraft.net/";
QString LIBRARY_BASE = "https://libraries.minecraft.net/";
QString RESOURCE_BASE;
QString LIBRARY_BASE;
QString AUTH_BASE = "https://authserver.mojang.com/";
QString IMGUR_BASE_URL = "https://api.imgur.com/3/";
QString FMLLIBS_BASE_URL;