From d30f0b900b24d4ad33a75b262c7c23d1dcd2afcc Mon Sep 17 00:00:00 2001 From: Gravita <12893402+gravit0@users.noreply.github.com> Date: Wed, 11 Jan 2023 18:16:38 +0700 Subject: [PATCH] [ANY] Change domain --- LaunchServer/build.gradle | 4 ++-- .../gravit/launchserver/config/LaunchServerConfig.java | 9 ++++++--- Launcher/build.gradle | 4 ++-- LauncherAPI/build.gradle | 4 ++-- LauncherCore/build.gradle | 4 ++-- README.md | 2 +- ServerWrapper/build.gradle | 4 ++-- modules | 2 +- 8 files changed, 18 insertions(+), 15 deletions(-) diff --git a/LaunchServer/build.gradle b/LaunchServer/build.gradle index d57c46c5..ce6a9222 100644 --- a/LaunchServer/build.gradle +++ b/LaunchServer/build.gradle @@ -186,7 +186,7 @@ publishing { pom { name = 'GravitLauncher LaunchServer API' description = 'GravitLauncher LaunchServer Module API' - url = 'https://launcher.gravit.pro' + url = 'https://gravitlauncher.com' licenses { license { name = 'GNU General Public License, Version 3.0' @@ -209,7 +209,7 @@ publishing { scm { connection = 'scm:git:https://github.com/GravitLauncher/Launcher.git' developerConnection = 'scm:git:ssh://git@github.com:GravitLauncher/Launcher.git' - url = 'https://launcher.gravit.pro/' + url = 'https://gravitlauncher.com/' } } } diff --git a/LaunchServer/src/main/java/pro/gravit/launchserver/config/LaunchServerConfig.java b/LaunchServer/src/main/java/pro/gravit/launchserver/config/LaunchServerConfig.java index 7bb5fd31..583bf33b 100644 --- a/LaunchServer/src/main/java/pro/gravit/launchserver/config/LaunchServerConfig.java +++ b/LaunchServer/src/main/java/pro/gravit/launchserver/config/LaunchServerConfig.java @@ -45,7 +45,7 @@ public final class LaunchServerConfig { public static LaunchServerConfig getDefault(LaunchServer.LaunchServerEnv env) { LaunchServerConfig newConfig = new LaunchServerConfig(); - newConfig.mirrors = new String[]{"https://mirror.gravit.pro/5.3.x/", "https://gravit-launcher-mirror.storage.googleapis.com/"}; + newConfig.mirrors = new String[]{"https://mirror.gravitlauncher.com/5.3.x/", "https://gravit-launcher-mirror.storage.googleapis.com/"}; newConfig.launch4j = new LaunchServerConfig.ExeConf(); newConfig.launch4j.enabled = false; newConfig.launch4j.copyright = "© GravitLauncher Team"; @@ -169,8 +169,11 @@ public final class LaunchServerConfig { if (!updateMirror) { for (int i = 0; i < mirrors.length; ++i) { if ("https://mirror.gravit.pro/5.2.x/".equals(mirrors[i])) { - logger.warn("Replace mirror 'https://mirror.gravit.pro/5.2.x/' to 'https://mirror.gravit.pro/5.3.x/'. If you really need to use original url, use '-Dlaunchserver.config.disableUpdateMirror=true'"); - mirrors[i] = "https://mirror.gravit.pro/5.3.x/"; + logger.warn("Replace mirror 'https://mirror.gravit.pro/5.2.x/' to 'https://mirror.gravitlauncher.com/5.3.x/'. If you really need to use original url, use '-Dlaunchserver.config.disableUpdateMirror=true'"); + mirrors[i] = "https://mirror.gravitlauncher.com/5.3.x/"; + } else if ("https://mirror.gravit.pro/5.3.x/".equals(mirrors[i])) { + logger.warn("Replace mirror 'https://mirror.gravit.pro/5.3.x/' to 'https://mirror.gravitlauncher.com/5.3.x/'. If you really need to use original url, use '-Dlaunchserver.config.disableUpdateMirror=true'"); + mirrors[i] = "https://mirror.gravitlauncher.com/5.3.x/"; } } } diff --git a/Launcher/build.gradle b/Launcher/build.gradle index e8ca4f7f..c492bd5c 100644 --- a/Launcher/build.gradle +++ b/Launcher/build.gradle @@ -81,7 +81,7 @@ publishing { pom { name = 'GravitLauncher Client API' description = 'GravitLauncher Client Module API' - url = 'https://launcher.gravit.pro' + url = 'https://gravitlauncher.com' licenses { license { name = 'GNU General Public License, Version 3.0' @@ -103,7 +103,7 @@ publishing { scm { connection = 'scm:git:https://github.com/GravitLauncher/Launcher.git' developerConnection = 'scm:git:ssh://git@github.com:GravitLauncher/Launcher.git' - url = 'https://launcher.gravit.pro/' + url = 'https://gravitlauncher.com/' } } } diff --git a/LauncherAPI/build.gradle b/LauncherAPI/build.gradle index 64e576c5..13feac0d 100644 --- a/LauncherAPI/build.gradle +++ b/LauncherAPI/build.gradle @@ -59,7 +59,7 @@ publishing { pom { name = 'GravitLauncher WebSocket API' description = 'GravitLauncher WebSocket Module API' - url = 'https://launcher.gravit.pro' + url = 'https://gravitlauncher.com' licenses { license { name = 'GNU General Public License, Version 3.0' @@ -81,7 +81,7 @@ publishing { scm { connection = 'scm:git:https://github.com/GravitLauncher/Launcher.git' developerConnection = 'scm:git:ssh://git@github.com:GravitLauncher/Launcher.git' - url = 'https://launcher.gravit.pro/' + url = 'https://gravitlauncher.com/' } } } diff --git a/LauncherCore/build.gradle b/LauncherCore/build.gradle index 4594ba7c..9fd20aed 100644 --- a/LauncherCore/build.gradle +++ b/LauncherCore/build.gradle @@ -65,7 +65,7 @@ publishing { pom { name = 'GravitLauncher Core Utils' description = 'GravitLauncher Core Utils' - url = 'https://launcher.gravit.pro' + url = 'https://gravitlauncher.com' licenses { license { name = 'GNU General Public License, Version 3.0' @@ -87,7 +87,7 @@ publishing { scm { connection = 'scm:git:https://github.com/GravitLauncher/Launcher.git' developerConnection = 'scm:git:ssh://git@github.com:GravitLauncher/Launcher.git' - url = 'https://launcher.gravit.pro/' + url = 'https://gravitlauncher.com/' } } } diff --git a/README.md b/README.md index 28b1ee3f..381ead14 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ * [See license](LICENSE) * [See code of conduct](CODE_OF_CONDUCT.md) -* [WIKI](https://launcher.gravit.pro) +* [WIKI](https://gravitlauncher.com) * Get it (requires cURL): ```sh diff --git a/ServerWrapper/build.gradle b/ServerWrapper/build.gradle index ff62dd0a..dc8c5dba 100644 --- a/ServerWrapper/build.gradle +++ b/ServerWrapper/build.gradle @@ -82,7 +82,7 @@ publishing { pom { name = 'GravitLauncher ServerWrapper API' description = 'GravitLauncher ServerWrapper Module API' - url = 'https://launcher.gravit.pro' + url = 'https://gravitlauncher.com' licenses { license { name = 'GNU General Public License, Version 3.0' @@ -105,7 +105,7 @@ publishing { scm { connection = 'scm:git:https://github.com/GravitLauncher/Launcher.git' developerConnection = 'scm:git:ssh://git@github.com:GravitLauncher/Launcher.git' - url = 'https://launcher.gravit.pro/' + url = 'https://gravitlauncher.com/' } } } diff --git a/modules b/modules index aba8a880..614aea89 160000 --- a/modules +++ b/modules @@ -1 +1 @@ -Subproject commit aba8a880bd644c211f6f6d6fdceedd21adf66ca6 +Subproject commit 614aea895f2d3ccbcf311b8058ab7a5f1dcd8602