[FIX] Proguard jdk dir specified twice

This commit is contained in:
Gravita 2021-11-10 23:32:26 +07:00
parent 50d8f12536
commit f30daab0f7
2 changed files with 1 additions and 3 deletions

View file

@ -144,6 +144,7 @@ public Path process(Path inputFile) throws IOException {
logger.debug("JMods resolved in {}", jfxPath.toString());
} else {
logger.error("JavaFX jmods not found. May be install OpenJFX?");
jfxPath = null;
}
ConfigurationParser parser = new ConfigurationParser(proguardConf.buildConfig(inputFile, outputJar, jfxPath == null ? new Path[0] : new Path[]{jfxPath}),
proguardConf.proguard.toFile(), System.getProperties());

View file

@ -56,9 +56,6 @@ private Client restoreFromString(byte[] data) {
return result;
}
public void garbageCollection() {
}
public Client getClient(UUID session) {
if (session == null) return null;