From bbfeb48c0a256677eb7147b46050239504384b45 Mon Sep 17 00:00:00 2001 From: fengberd Date: Sat, 18 Apr 2020 16:19:21 +0800 Subject: [PATCH] Update several URLs --- app/src/main/assets/urls.json | 16 +--------------- .../pocket_server/fragment/SettingsFragment.java | 2 +- 2 files changed, 2 insertions(+), 16 deletions(-) diff --git a/app/src/main/assets/urls.json b/app/src/main/assets/urls.json index f3d957d..937e95a 100644 --- a/app/src/main/assets/urls.json +++ b/app/src/main/assets/urls.json @@ -2,24 +2,10 @@ "version": 1, "jenkins": { "nukkit": [ - "MengCraft|http://ci.mengcraft.com:8080/job/nukkit/", - "RegularBox|http://ci.regularbox.com/job/Nukkit/", - "ZXDA|https://jenkins.zxda.net/job/Nukkit/", "NukkitX|https://ci.nukkitx.com/job/NukkitX/job/Nukkit/job/master/" ], "pocketmine": [ - "[Suggested]GenisysPro (ZXDA)|https://jenkins.zxda.net/job/GenisysPro/", - "Apollo (ZXDA)|https://jenkins.zxda.net/job/Apollo-Legacy/", - "Tesseract (ZXDA)|https://jenkins.zxda.net/job/Tesseract/", - "[x64]PMMP (Official)|https://jenkins.pmmp.gq/job/PocketMine-MP/", - "[x64]PMMP (ZXDA)|https://jenkins.zxda.net/job/PocketMine-MP/", - "Leveryl (Official)|http://cortexpe.ml:8080/job/Leveryl/", - "Leveryl (ZXDA)|https://jenkins.zxda.net/job/Leveryl/", - "[Discontinued]BlueLight (ZXDA)|https://jenkins.zxda.net/job/BlueLight/", - "[Discontinued]Elywing (ZXDA)|https://jenkins.zxda.net/job/Elywing/", - "[Discontinued]Genisys (ZXDA)|https://jenkins.zxda.net/job/Genisys/", - "[Discontinued]ClearSky-PHP7 (ZXDA)|https://jenkins.zxda.net/job/ClearSky-PHP7/", - "[Discontinued]ClearSky-PHP5 (ZXDA)|https://jenkins.zxda.net/job/ClearSky-PHP5/" + "PMMP|https://jenkins.pmmp.io/job/PocketMine-MP/" ] }, "source_code": "https://github.com/fengberd/PocketServer", diff --git a/app/src/main/java/moe/berd/pocket_server/fragment/SettingsFragment.java b/app/src/main/java/moe/berd/pocket_server/fragment/SettingsFragment.java index 220d5cf..cb6e43d 100644 --- a/app/src/main/java/moe/berd/pocket_server/fragment/SettingsFragment.java +++ b/app/src/main/java/moe/berd/pocket_server/fragment/SettingsFragment.java @@ -133,7 +133,7 @@ public boolean onPreferenceClick(Preference preference) { public void run() { - main.downloadFile("https://raw.githubusercontent.com/fengberd/MinecraftPEServer/master/app/src/main/assets/urls.json",new File(ServerUtils + main.downloadFile("https://raw.githubusercontent.com/fengberd/PocketServer/master/app/src/main/assets/urls.json",new File(ServerUtils .getAppFilesDirectory(),"urls.json"),processing_dialog); main.reloadUrls(); main.runOnUiThread(new Runnable()