mirror of
https://github.com/GravitLauncher/Launcher
synced 2024-12-22 16:41:46 +03:00
[FIX] pro.gravit.launcher.debug
This commit is contained in:
parent
2221fadace
commit
b7621ef760
1 changed files with 1 additions and 2 deletions
|
@ -42,7 +42,6 @@ public MainBuildTask(LaunchServer srv) {
|
|||
reader = new ClassMetadataReader();
|
||||
InjectClassAcceptor injectClassAcceptor = new InjectClassAcceptor(properties);
|
||||
transformers.add(injectClassAcceptor);
|
||||
blacklist.add("pro/gravit/launcher/debug/");
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -63,7 +62,7 @@ public Path process(Path inputJar) throws IOException {
|
|||
for (Path e : server.launcherBinary.coreLibs) {
|
||||
reader.getCp().add(new JarFile(e.toFile()));
|
||||
}
|
||||
context.pushJarFile(inputJar, (e) -> blacklist.contains(e.getName()), (e) -> true);
|
||||
context.pushJarFile(inputJar, (e) -> blacklist.contains(e.getName()) || e.getName().startsWith("pro/gravit/launcher/debug/"), (e) -> true);
|
||||
|
||||
// map for guard
|
||||
Map<String, byte[]> runtime = new HashMap<>(256);
|
||||
|
|
Loading…
Reference in a new issue