mirror of
https://github.com/GravitLauncher/Launcher
synced 2025-01-10 17:49:40 +03:00
[FIX] Удалены Legacy параметры
This commit is contained in:
parent
95d8cc461c
commit
fd9e2f9bd8
1 changed files with 0 additions and 8 deletions
|
@ -142,11 +142,6 @@ public AuthProviderPair getAuthProviderPair() {
|
||||||
|
|
||||||
public Map<String, Component> components;
|
public Map<String, Component> components;
|
||||||
|
|
||||||
// Misc options
|
|
||||||
public int threadCount;
|
|
||||||
|
|
||||||
public int threadCoreCount;
|
|
||||||
|
|
||||||
public ExeConf launch4j;
|
public ExeConf launch4j;
|
||||||
public NettyConfig netty;
|
public NettyConfig netty;
|
||||||
public GuardLicenseConf guardLicense;
|
public GuardLicenseConf guardLicense;
|
||||||
|
@ -752,9 +747,6 @@ private void generateConfigIfNotExists(boolean testEnv) throws IOException {
|
||||||
newConfig.launcher = new LauncherConf();
|
newConfig.launcher = new LauncherConf();
|
||||||
newConfig.launcher.guardType = "no";
|
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.enabledRadon = true;
|
||||||
newConfig.genMappings = true;
|
newConfig.genMappings = true;
|
||||||
newConfig.enabledProGuard = true;
|
newConfig.enabledProGuard = true;
|
||||||
|
|
Loading…
Reference in a new issue