Obf is disabled now!

This commit is contained in:
zaxar163 2018-12-14 19:51:01 +03:00
parent c0cf0475ce
commit af16505bac
No known key found for this signature in database
GPG key ID: E3B309DD3852DE06

View file

@ -31,7 +31,6 @@
import ru.gravit.launcher.LauncherConfig;
import ru.gravit.launcher.serialize.HOutput;
import ru.gravit.launchserver.LaunchServer;
import ru.gravit.launchserver.asm.AntiDecomp;
import ru.gravit.launchserver.asm.ClassMetadataReader;
import ru.gravit.launchserver.manangers.BuildHookManager.ZipBuildHook;
import ru.gravit.utils.helper.CommonHelper;
@ -172,7 +171,7 @@ public void build() throws IOException {
IOHelper.transfer(input, outputStream);
bytes = outputStream.toByteArray();
}
bytes = AntiDecomp.antiDecomp(server.buildHookManager.proGuardClassTransform(bytes, classname, this), reader);
bytes = server.buildHookManager.proGuardClassTransform(bytes, classname, this);
try (ByteArrayInputStream inputStream = new ByteArrayInputStream(bytes)) {
IOHelper.transfer(inputStream, output);
}