mirror of
https://github.com/GravitLauncher/Launcher
synced 2024-11-15 03:31:15 +03:00
enabledOptional
This commit is contained in:
parent
72701e0775
commit
4a74816634
13 changed files with 13 additions and 0 deletions
|
@ -22,6 +22,7 @@ updateVerify: [
|
|||
];
|
||||
updateExclusions: [];
|
||||
updateOptional: [];
|
||||
enabledOptional: [];
|
||||
|
||||
useWhitelist: false;
|
||||
whitelist: [];
|
||||
|
|
|
@ -22,6 +22,7 @@ updateVerify: [
|
|||
];
|
||||
updateExclusions: [];
|
||||
updateOptional: [];
|
||||
enabledOptional: [];
|
||||
|
||||
useWhitelist: false;
|
||||
whitelist: [];
|
||||
|
|
|
@ -22,6 +22,7 @@ updateVerify: [
|
|||
];
|
||||
updateExclusions: [];
|
||||
updateOptional: [];
|
||||
enabledOptional: [];
|
||||
|
||||
useWhitelist: false;
|
||||
whitelist: [];
|
||||
|
|
|
@ -22,6 +22,7 @@ updateVerify: [
|
|||
];
|
||||
updateExclusions: [];
|
||||
updateOptional: [];
|
||||
enabledOptional: [];
|
||||
|
||||
# Client launcher params
|
||||
mainClass: "net.minecraft.client.main.Main";
|
||||
|
|
|
@ -22,6 +22,7 @@ updateVerify: [
|
|||
];
|
||||
updateExclusions: [];
|
||||
updateOptional: [];
|
||||
enabledOptional: [];
|
||||
|
||||
# Client launcher params
|
||||
mainClass: "net.minecraft.client.main.Main";
|
||||
|
|
|
@ -21,6 +21,7 @@ updateVerify: [
|
|||
];
|
||||
updateExclusions: [];
|
||||
updateOptional: [];
|
||||
enabledOptional: [];
|
||||
|
||||
useWhitelist: false;
|
||||
whitelist: [];
|
||||
|
|
|
@ -21,6 +21,7 @@ updateVerify: [
|
|||
];
|
||||
updateExclusions: [];
|
||||
updateOptional: [];
|
||||
enabledOptional: [];
|
||||
|
||||
useWhitelist: false;
|
||||
whitelist: [];
|
||||
|
|
|
@ -22,6 +22,7 @@ updateVerify: [
|
|||
];
|
||||
updateExclusions: [];
|
||||
updateOptional: [];
|
||||
enabledOptional: [];
|
||||
|
||||
useWhitelist: false;
|
||||
whitelist: [];
|
||||
|
|
|
@ -26,6 +26,7 @@ updateExclusions: [
|
|||
# "mods/railcraft"
|
||||
];
|
||||
updateOptional: [];
|
||||
enabledOptional: [];
|
||||
|
||||
useWhitelist: false;
|
||||
whitelist: [];
|
||||
|
|
|
@ -22,6 +22,7 @@ updateVerify: [
|
|||
];
|
||||
updateExclusions: [];
|
||||
updateOptional: [];
|
||||
enabledOptional: [];
|
||||
|
||||
useWhitelist: false;
|
||||
whitelist: [];
|
||||
|
|
|
@ -22,6 +22,7 @@ updateVerify: [
|
|||
];
|
||||
updateExclusions: [];
|
||||
updateOptional: [];
|
||||
enabledOptional: [];
|
||||
|
||||
useWhitelist: false;
|
||||
whitelist: [];
|
||||
|
|
|
@ -22,6 +22,7 @@ updateVerify: [
|
|||
];
|
||||
updateExclusions: [];
|
||||
updateOptional: [];
|
||||
enabledOptional: [];
|
||||
|
||||
useWhitelist: false;
|
||||
whitelist: [];
|
||||
|
|
|
@ -136,6 +136,7 @@ public ClientProfile(BlockConfigEntry block) {
|
|||
block.getEntry("updateVerify", ListConfigEntry.class).stream(StringConfigEntry.class).forEach(updateVerify::add);
|
||||
block.getEntry("updateOptional", ListConfigEntry.class).stream(StringConfigEntry.class).forEach(e -> updateOptional.add(new MarkedString(e)));
|
||||
block.getEntry("updateExclusions", ListConfigEntry.class).stream(StringConfigEntry.class).forEach(updateExclusions::add);
|
||||
block.getEntry("enabledOptional", ListConfigEntry.class).stream(StringConfigEntry.class).forEach(e -> updateOptional.stream().anyMatch(e1 -> e.equals(e1.string) && (e1.mark = true)));
|
||||
updateFastCheck = block.getEntry("updateFastCheck", BooleanConfigEntry.class);
|
||||
useWhitelist = block.getEntry("useWhitelist", BooleanConfigEntry.class);
|
||||
|
||||
|
|
Loading…
Reference in a new issue