mirror of
https://github.com/GravitLauncher/Launcher
synced 2024-12-23 09:01:08 +03:00
Отказ от buildnumber файла
This commit is contained in:
parent
1e54e661f5
commit
1e35e89d1c
1 changed files with 1 additions and 9 deletions
|
@ -32,14 +32,6 @@ public final class Launcher {
|
|||
// Used to determine from clientside is launched from launcher
|
||||
public static final AtomicBoolean LAUNCHED = new AtomicBoolean(false);
|
||||
|
||||
static int readBuildNumber() {
|
||||
try {
|
||||
return Integer.valueOf(IOHelper.request(IOHelper.getResourceURL("buildnumber")));
|
||||
} catch (IOException ignored) {
|
||||
return 0; // Maybe dev env?
|
||||
}
|
||||
}
|
||||
|
||||
private static final AtomicReference<LauncherConfig> CONFIG = new AtomicReference<>();
|
||||
@LauncherAPI
|
||||
public static ModulesManagerInterface modulesManager = null;
|
||||
|
@ -67,7 +59,7 @@ static int readBuildNumber() {
|
|||
public static int MAJOR = 4;
|
||||
public static int MINOR = 0;
|
||||
public static int PATCH = 8;
|
||||
public static int BUILD = readBuildNumber();
|
||||
public static int BUILD = 0;
|
||||
public static Version.Type RELEASE = Version.Type.STABLE;
|
||||
|
||||
@LauncherAPI
|
||||
|
|
Loading…
Reference in a new issue