mirror of
https://github.com/GravitLauncher/Launcher
synced 2024-12-23 00:51:01 +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
|
@Override
|
||||||
public Path process(Path inputFile) throws IOException {
|
public Path process(Path inputFile) throws IOException {
|
||||||
|
if (!component.enabled) {
|
||||||
|
return inputFile;
|
||||||
|
}
|
||||||
LauncherBuildTask task = server.launcherBinary.getTaskBefore((x) -> proguardTaskName.equals(x.getName())).get();
|
LauncherBuildTask task = server.launcherBinary.getTaskBefore((x) -> proguardTaskName.equals(x.getName())).get();
|
||||||
Path lastPath = server.launcherBinary.nextPath(task);
|
Path lastPath = server.launcherBinary.nextPath(task);
|
||||||
if(Files.notExists(lastPath)) {
|
if(Files.notExists(lastPath)) {
|
||||||
|
|
Loading…
Reference in a new issue