[Forge Installer] Migrate to generic ZIP from JAR

This commit is contained in:
ArtDev 2020-11-23 19:27:58 +03:00 committed by GitHub
parent f16d08efc7
commit a4ef351d69
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,16 +1,16 @@
package net.kdt.pojavlaunch.installers;
import java.io.*;
import java.util.jar.*;
import java.util.zip.*;
import net.kdt.pojavlaunch.*;
public class BaseInstaller {
protected File mFile;
protected JarFile mJarFile;
protected ZipFile mJarFile;
public void setInput(File file) throws IOException {
mFile = file;
mJarFile = new JarFile(file);
mJarFile = new ZipFile(file);
}
public void install(LoggableActivity ctx) throws IOException {}