mirror of
https://github.com/SKCraft/Launcher.git
synced 2025-01-07 19:29:03 +01:00
Bump minimum manifest version
This commit is contained in:
parent
b12e3610b5
commit
22ac043cdd
@ -42,7 +42,6 @@ import java.util.List;
|
||||
import java.util.Properties;
|
||||
import java.util.jar.JarFile;
|
||||
import java.util.logging.Level;
|
||||
import java.util.regex.Pattern;
|
||||
import java.util.zip.ZipEntry;
|
||||
|
||||
import static com.google.common.base.Preconditions.checkNotNull;
|
||||
@ -54,9 +53,6 @@ import static com.skcraft.launcher.util.HttpRequest.url;
|
||||
*/
|
||||
@Log
|
||||
public class PackageBuilder {
|
||||
|
||||
private static final Pattern TWEAK_CLASS_ARG = Pattern.compile("--tweakClass\\s+([^\\s]+)");
|
||||
|
||||
private final Properties properties;
|
||||
private final ObjectMapper mapper;
|
||||
private ObjectWriter writer;
|
||||
|
@ -54,7 +54,7 @@ import static com.skcraft.launcher.util.SharedLocale.tr;
|
||||
@Log
|
||||
public final class Launcher {
|
||||
|
||||
public static final int PROTOCOL_VERSION = 2;
|
||||
public static final int PROTOCOL_VERSION = 3;
|
||||
|
||||
@Getter
|
||||
private final ListeningExecutorService executor = MoreExecutors.listeningDecorator(Executors.newCachedThreadPool());
|
||||
|
@ -31,7 +31,7 @@ import java.util.Map;
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
public class Manifest extends BaseManifest {
|
||||
|
||||
public static final int MIN_PROTOCOL_VERSION = 2;
|
||||
public static final int MIN_PROTOCOL_VERSION = 3;
|
||||
|
||||
private int minimumVersion;
|
||||
private URL baseUrl;
|
||||
|
Loading…
Reference in New Issue
Block a user