mirror of
https://github.com/GravitLauncher/Launcher
synced 2024-12-23 00:51:01 +03:00
[FEATURE] Change hash type to sha1
This commit is contained in:
parent
bddf31c94e
commit
bea7898939
3 changed files with 3 additions and 3 deletions
|
@ -1,4 +1,4 @@
|
||||||
{
|
{
|
||||||
"features": [],
|
"features": ["sha1-hash"],
|
||||||
"info": []
|
"info": []
|
||||||
}
|
}
|
|
@ -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
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue