mirror of
https://github.com/AngelAuraMC/Amethyst-Android.git
synced 2025-09-17 00:29:50 -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;
|
package net.kdt.pojavlaunch.installers;
|
||||||
|
|
||||||
import java.io.*;
|
import java.io.*;
|
||||||
import java.util.jar.*;
|
import java.util.zip.*;
|
||||||
import net.kdt.pojavlaunch.*;
|
import net.kdt.pojavlaunch.*;
|
||||||
|
|
||||||
public class BaseInstaller {
|
public class BaseInstaller {
|
||||||
protected File mFile;
|
protected File mFile;
|
||||||
protected JarFile mJarFile;
|
protected ZipFile mJarFile;
|
||||||
|
|
||||||
public void setInput(File file) throws IOException {
|
public void setInput(File file) throws IOException {
|
||||||
mFile = file;
|
mFile = file;
|
||||||
mJarFile = new JarFile(file);
|
mJarFile = new ZipFile(file);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void install(LoggableActivity ctx) throws IOException {}
|
public void install(LoggableActivity ctx) throws IOException {}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user