mirror of
https://github.com/AngelAuraMC/Amethyst-Android.git
synced 2025-09-11 13:45:48 -04:00
cut: MCBBS game download source (#5235)
Co-authored-by: MovTery <123115192+HopiHopy@users.noreply.github.com>
This commit is contained in:
parent
dda7a4e45c
commit
cf788d8e73
@ -24,11 +24,6 @@ public class DownloadMirror {
|
||||
"https://bmclapi2.bangbang93.com",
|
||||
"https://bmclapi2.bangbang93.com/assets"
|
||||
};
|
||||
private static final String[] MIRROR_MCBBS = {
|
||||
"https://download.mcbbs.net/maven",
|
||||
"https://download.mcbbs.net",
|
||||
"https://download.mcbbs.net/assets"
|
||||
};
|
||||
|
||||
/**
|
||||
* Download a file with the current mirror. If the file is missing on the mirror,
|
||||
@ -83,7 +78,6 @@ public class DownloadMirror {
|
||||
|
||||
private static String[] getMirrorSettings() {
|
||||
switch (LauncherPreferences.PREF_DOWNLOAD_SOURCE) {
|
||||
case "mcbbs": return MIRROR_MCBBS;
|
||||
case "bmclapi": return MIRROR_BMCLAPI;
|
||||
case "default":
|
||||
default:
|
||||
|
@ -43,12 +43,10 @@
|
||||
<string-array name="download_source_names">
|
||||
<item>@string/global_default</item>
|
||||
<item>BMCLAPI</item>
|
||||
<item>MCBBS</item>
|
||||
</string-array>
|
||||
<string-array name="download_source_values">
|
||||
<item>default</item>
|
||||
<item>bmclapi</item>
|
||||
<item>mcbbs</item>
|
||||
</string-array>
|
||||
|
||||
</resources>
|
||||
|
Loading…
x
Reference in New Issue
Block a user