mirror of
https://github.com/GravitLauncher/Launcher
synced 2025-04-03 23:11:57 +03:00
Upd modules + node transformer fix.
This commit is contained in:
parent
fe9551636e
commit
80c8d27a5e
2 changed files with 2 additions and 2 deletions
|
@ -33,7 +33,7 @@ public byte[] transform(byte[] input, String classname, JARLauncherBinary data)
|
||||||
ClassNode cn = new ClassNode();
|
ClassNode cn = new ClassNode();
|
||||||
cr.accept(cn, ClassReader.SKIP_DEBUG);
|
cr.accept(cn, ClassReader.SKIP_DEBUG);
|
||||||
for (ClassNodeTransformer tr : transLst) tr.transform(cn, classname, data);
|
for (ClassNodeTransformer tr : transLst) tr.transform(cn, classname, data);
|
||||||
ClassWriter cw = new SafeClassWriter(data.reader, ClassWriter.COMPUTE_MAXS);
|
ClassWriter cw = new SafeClassWriter(data.reader, ClassWriter.COMPUTE_FRAMES);
|
||||||
cn.accept(cw);
|
cn.accept(cw);
|
||||||
return cw.toByteArray();
|
return cw.toByteArray();
|
||||||
}
|
}
|
||||||
|
|
2
modules
2
modules
|
@ -1 +1 @@
|
||||||
Subproject commit 2a09f7b18dde4ea6841e6a141e7cfea8f93d3b29
|
Subproject commit 1f5199e4dc6a582d49eea40bc080bb5c529817d6
|
Loading…
Reference in a new issue