From 2ff03cb72dccafd387776f5b0f91be1e8b056afb Mon Sep 17 00:00:00 2001 From: jeff Date: Sun, 15 Mar 2015 09:53:21 -0400 Subject: repackage for 0.9 beta --- test/cuchaz/enigma/TestSourceIndex.java | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'test') diff --git a/test/cuchaz/enigma/TestSourceIndex.java b/test/cuchaz/enigma/TestSourceIndex.java index 96a8923..94bf941 100644 --- a/test/cuchaz/enigma/TestSourceIndex.java +++ b/test/cuchaz/enigma/TestSourceIndex.java @@ -11,6 +11,7 @@ ******************************************************************************/ package cuchaz.enigma; +import java.io.File; import java.util.Set; import java.util.jar.JarFile; @@ -23,11 +24,13 @@ import cuchaz.enigma.mapping.ClassEntry; public class TestSourceIndex { - // TEMP @Test public void indexEverything() throws Exception { - Deobfuscator deobfuscator = new Deobfuscator(new JarFile("input/1.8.jar")); + + File home = new File(System.getProperty("user.home")); + File jarFile = new File(home, "/.minecraft/versions/1.8.3/1.8.3.jar"); + Deobfuscator deobfuscator = new Deobfuscator(new JarFile(jarFile)); // get all classes that aren't inner classes Set classEntries = Sets.newHashSet(); -- cgit v1.2.3