mirror of
https://github.com/AngelAuraMC/Amethyst-Android.git
synced 2025-09-12 22:26:56 -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",
|
||||||
"https://bmclapi2.bangbang93.com/assets"
|
"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,
|
* 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() {
|
private static String[] getMirrorSettings() {
|
||||||
switch (LauncherPreferences.PREF_DOWNLOAD_SOURCE) {
|
switch (LauncherPreferences.PREF_DOWNLOAD_SOURCE) {
|
||||||
case "mcbbs": return MIRROR_MCBBS;
|
|
||||||
case "bmclapi": return MIRROR_BMCLAPI;
|
case "bmclapi": return MIRROR_BMCLAPI;
|
||||||
case "default":
|
case "default":
|
||||||
default:
|
default:
|
||||||
|
@ -43,12 +43,10 @@
|
|||||||
<string-array name="download_source_names">
|
<string-array name="download_source_names">
|
||||||
<item>@string/global_default</item>
|
<item>@string/global_default</item>
|
||||||
<item>BMCLAPI</item>
|
<item>BMCLAPI</item>
|
||||||
<item>MCBBS</item>
|
|
||||||
</string-array>
|
</string-array>
|
||||||
<string-array name="download_source_values">
|
<string-array name="download_source_values">
|
||||||
<item>default</item>
|
<item>default</item>
|
||||||
<item>bmclapi</item>
|
<item>bmclapi</item>
|
||||||
<item>mcbbs</item>
|
|
||||||
</string-array>
|
</string-array>
|
||||||
|
|
||||||
</resources>
|
</resources>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user