mirror of
https://github.com/AngelAuraMC/Amethyst-Android.git
synced 2025-09-15 23:59:21 -04:00
[Forge Installer] Migrate to generic ZIP from JAR
This commit is contained in:
parent
f16d08efc7
commit
a4ef351d69
@ -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 {}
|
||||
|
Loading…
x
Reference in New Issue
Block a user