mirror of
https://github.com/GravitLauncher/Launcher
synced 2024-12-23 00:51:01 +03:00
[FIX] Compile fix
This commit is contained in:
parent
fc13442c89
commit
f8af81b141
1 changed files with 2 additions and 1 deletions
|
@ -9,6 +9,7 @@
|
|||
import pro.gravit.launchserver.auth.protect.StdProtectHandler;
|
||||
import pro.gravit.launchserver.auth.provider.AcceptAuthProvider;
|
||||
import pro.gravit.launchserver.command.Command;
|
||||
import pro.gravit.launchserver.components.ProGuardComponent;
|
||||
import pro.gravit.launchserver.config.LaunchServerConfig;
|
||||
import pro.gravit.utils.helper.FormatHelper;
|
||||
import pro.gravit.utils.helper.LogHelper;
|
||||
|
@ -131,7 +132,7 @@ public void invoke(String... args) {
|
|||
printCheckResult(LogHelper.Level.INFO, "sign", "", true);
|
||||
}
|
||||
|
||||
if (!config.launcher.enabledProGuard) {
|
||||
if (config.components.values().stream().noneMatch(c -> c instanceof ProGuardComponent)) {
|
||||
printCheckResult(LogHelper.Level.INFO, "launcher.enabledProGuard", "proguard not enabled", false);
|
||||
} else {
|
||||
printCheckResult(LogHelper.Level.INFO, "launcher.enabledProGuard", "", true);
|
||||
|
|
Loading…
Reference in a new issue