Настройка по умолчанию для featureStore (#304)

This commit is contained in:
LoomeL 2019-07-06 19:06:00 +06:00 committed by Gravit
parent e1f07cdfc8
commit e3ec15b270
2 changed files with 2 additions and 0 deletions

View file

@ -15,6 +15,7 @@ var config = {
settingsMagic: 0xC0DE5, // Magic, don't touch settingsMagic: 0xC0DE5, // Magic, don't touch
autoEnterDefault: false, // Should autoEnter be enabled by default? autoEnterDefault: false, // Should autoEnter be enabled by default?
fullScreenDefault: false, // Should fullScreen be enabled by default? fullScreenDefault: false, // Should fullScreen be enabled by default?
featureStoreDefault: true, // Should featureStore be enabled by default?
ramDefault: 1024, // Default RAM amount (0 for auto) ramDefault: 1024, // Default RAM amount (0 for auto)
jvm: { jvm: {

View file

@ -10,6 +10,7 @@ var settingsManagerClass = Java.extend(SettingsManagerClass.static, {
new_settings.fullScreen = config.fullScreenDefault; new_settings.fullScreen = config.fullScreenDefault;
new_settings.ram = config.ramDefault; new_settings.ram = config.ramDefault;
new_settings.featureStore = config.featureStoreDefault;
new_settings.lastDigest = null; new_settings.lastDigest = null;
new_settings.lastProfiles.clear(); new_settings.lastProfiles.clear();
new_settings.lastHDirs.clear(); new_settings.lastHDirs.clear();