[FEATURE] Change hash type to sha1

This commit is contained in:
Gravita 2023-06-08 22:39:08 +07:00
parent bddf31c94e
commit bea7898939
3 changed files with 3 additions and 3 deletions

View file

@ -1,4 +1,4 @@
{ {
"features": [], "features": ["sha1-hash"],
"info": [] "info": []
} }

View file

@ -13,7 +13,7 @@
import java.util.Arrays; import java.util.Arrays;
public final class HashedFile extends HashedEntry { public final class HashedFile extends HashedEntry {
public static final DigestAlgorithm DIGEST_ALGO = DigestAlgorithm.MD5; public static final DigestAlgorithm DIGEST_ALGO = DigestAlgorithm.SHA1;
// Instance // Instance
@LauncherNetworkAPI @LauncherNetworkAPI

View file

@ -8,7 +8,7 @@ public final class Version implements Comparable<Version> {
public static final int MINOR = 4; public static final int MINOR = 4;
public static final int PATCH = 2; public static final int PATCH = 2;
public static final int BUILD = 1; public static final int BUILD = 1;
public static final Version.Type RELEASE = Type.STABLE; public static final Version.Type RELEASE = Type.EXPERIMENTAL;
public final int major; public final int major;
public final int minor; public final int minor;
public final int patch; public final int patch;