[FIX] Удалены Legacy параметры

This commit is contained in:
Gravit 2019-07-06 17:39:17 +07:00
parent 95d8cc461c
commit fd9e2f9bd8
No known key found for this signature in database
GPG key ID: 061981E1E85D3216

View file

@ -142,11 +142,6 @@ public AuthProviderPair getAuthProviderPair() {
public Map<String, Component> components;
// Misc options
public int threadCount;
public int threadCoreCount;
public ExeConf launch4j;
public NettyConfig netty;
public GuardLicenseConf guardLicense;
@ -752,9 +747,6 @@ private void generateConfigIfNotExists(boolean testEnv) throws IOException {
newConfig.launcher = new LauncherConf();
newConfig.launcher.guardType = "no";
newConfig.threadCoreCount = 0; // on your own
newConfig.threadCount = JVMHelper.OPERATING_SYSTEM_MXBEAN.getAvailableProcessors() >= 4 ? JVMHelper.OPERATING_SYSTEM_MXBEAN.getAvailableProcessors() / 2 : JVMHelper.OPERATING_SYSTEM_MXBEAN.getAvailableProcessors();
newConfig.enabledRadon = true;
newConfig.genMappings = true;
newConfig.enabledProGuard = true;