diff --git a/patches/server/0002-Matter-Branding.patch b/patches/server/0002-Matter-Branding.patch index a4419ac..c0503ca 100644 --- a/patches/server/0002-Matter-Branding.patch +++ b/patches/server/0002-Matter-Branding.patch @@ -106,7 +106,7 @@ index 80553face9c70c2a3d897681e7761df85b22d464..c4831e424782b83ae81b4b948ff52c25 if (stream != null) { diff --git a/src/main/java/su/plo/matter/MatterVersionFetcher.java b/src/main/java/su/plo/matter/MatterVersionFetcher.java new file mode 100644 -index 0000000000000000000000000000000000000000..3de5c2def719c799a2f497e43e18359ff50ff948 +index 0000000000000000000000000000000000000000..329f4d8014f13e442a29fd5467fd0214db35f9a9 --- /dev/null +++ b/src/main/java/su/plo/matter/MatterVersionFetcher.java @@ -0,0 +1,137 @@ @@ -142,8 +142,8 @@ index 0000000000000000000000000000000000000000..3de5c2def719c799a2f497e43e18359f + private static final Logger LOGGER = Logger.getLogger("MatterVersionFetcher"); + private static final HttpClient client = HttpClient.newHttpClient(); + -+ private static final URI JENKINS_URI = URI.create("https://matter.plo.su/job/Matter-1.18/lastSuccessfulBuild/buildNumber"); -+ private static final String GITHUB_FORMAT = "https://api.github.com/repos/plasmoapp/matter/compare/ver/pufferfish-1.18...%s"; ++ private static final URI JENKINS_URI = URI.create("https://matter.plo.su/job/Matter-1.19/lastSuccessfulBuild/buildNumber"); ++ private static final String GITHUB_FORMAT = "https://api.github.com/repos/plasmoapp/matter/compare/ver/pufferfish-1.19...%s"; + + private static final HttpResponse.BodyHandler JSON_OBJECT_BODY_HANDLER = responseInfo -> HttpResponse.BodySubscribers.mapping( + HttpResponse.BodySubscribers.ofString(StandardCharsets.UTF_8), @@ -247,4 +247,3 @@ index 0000000000000000000000000000000000000000..3de5c2def719c799a2f497e43e18359f + return text("Previous version: " + oldVersion, NamedTextColor.GRAY, TextDecoration.ITALIC); + } +} -\ No newline at end of file diff --git a/readme.md b/readme.md index e4b4d1c..ccafae8 100644 --- a/readme.md +++ b/readme.md @@ -5,7 +5,7 @@
GitHub | - Download + Download | Discord
@@ -35,7 +35,7 @@ We are also planning to add an ability to change seed for the biome generation. ## Download -[Click here to download from Jenkins](https://matter.plo.su/job/Matter-1.18/) +[Click here to download from Jenkins](https://matter.plo.su/job/Matter-1.19/) ## How to use