client: fix dependency issue

This commit is contained in:
ThatGamerBlue
2021-02-27 17:01:33 +00:00
parent 3aae0fe569
commit 2431527850
2 changed files with 3 additions and 2 deletions

View File

@@ -76,7 +76,7 @@ dependencies {
exclude(group = "org.slf4j") exclude(group = "org.slf4j")
} }
implementation(group = "org.pf4j", name = "pf4j-update", version = "2.3.0") implementation(group = "org.pf4j", name = "pf4j-update", version = "2.3.0")
implementation(group = "com.google.archivepatcher", name = "archive-patch-applier", version= "1.0.4") // implementation(group = "com.google.archivepatcher", name = "archive-patch-applier", version= "1.0.4")
implementation(group = "net.runelite.gluegen", name = "gluegen-rt", version = "2.4.0-rc-20200429") implementation(group = "net.runelite.gluegen", name = "gluegen-rt", version = "2.4.0-rc-20200429")
implementation(group = "net.runelite.jogl", name = "jogl-all", version = "2.4.0-rc-20200429") implementation(group = "net.runelite.jogl", name = "jogl-all", version = "2.4.0-rc-20200429")
implementation(group = "net.runelite.jocl", name = "jocl", version = "1.0") implementation(group = "net.runelite.jocl", name = "jocl", version = "1.0")

View File

@@ -26,7 +26,6 @@
*/ */
package net.runelite.client.rs; package net.runelite.client.rs;
import com.google.archivepatcher.applier.FileByFileV1DeltaApplier;
import com.google.common.base.Strings; import com.google.common.base.Strings;
import com.google.common.hash.Hashing; import com.google.common.hash.Hashing;
import com.google.common.hash.HashingOutputStream; import com.google.common.hash.HashingOutputStream;
@@ -389,6 +388,7 @@ public class ClientLoader implements Supplier<Applet>
private void applyPatch() throws IOException private void applyPatch() throws IOException
{ {
/*
byte[] vanillaHash = new byte[64]; byte[] vanillaHash = new byte[64];
byte[] appliedPatchHash = new byte[64]; byte[] appliedPatchHash = new byte[64];
@@ -449,6 +449,7 @@ public class ClientLoader implements Supplier<Applet>
updateCheckMode = VANILLA; updateCheckMode = VANILLA;
return; return;
} }
*/
} }
private ClassLoader createJarClassLoader(File jar) throws IOException, ClassNotFoundException private ClassLoader createJarClassLoader(File jar) throws IOException, ClassNotFoundException