mirror of
https://github.com/GravitLauncher/Launcher
synced 2024-12-22 16:41:46 +03:00
[FIX] Build without proguard
This commit is contained in:
parent
75f51c7727
commit
e1429356df
1 changed files with 3 additions and 0 deletions
|
@ -133,6 +133,9 @@ public String getName() {
|
|||
|
||||
@Override
|
||||
public Path process(Path inputFile) throws IOException {
|
||||
if (!component.enabled) {
|
||||
return inputFile;
|
||||
}
|
||||
LauncherBuildTask task = server.launcherBinary.getTaskBefore((x) -> proguardTaskName.equals(x.getName())).get();
|
||||
Path lastPath = server.launcherBinary.nextPath(task);
|
||||
if(Files.notExists(lastPath)) {
|
||||
|
|
Loading…
Reference in a new issue