This commit is contained in:
Gravit 2018-11-08 20:03:11 +07:00
parent 30ae80c1a1
commit b4f097d187
No known key found for this signature in database
GPG key ID: 061981E1E85D3216
2 changed files with 2 additions and 1 deletions

View file

@ -11,4 +11,5 @@ public class DirBridge {
public static Path dirUpdates;
@LauncherAPI
public static Path defaultUpdatesDir;
}

View file

@ -140,7 +140,7 @@ public ClientProfile(BlockConfigEntry block) {
// Updater and client watch service
block.getEntry("update", ListConfigEntry.class).stream(StringConfigEntry.class).forEach(update::add);
block.getEntry("updateVerify", ListConfigEntry.class).stream(StringConfigEntry.class).forEach(updateVerify::add);
block.getEntry("updateShared", ListConfigEntry.class).stream(StringConfigEntry.class).forEach(updateVerify::add);
block.getEntry("updateShared", ListConfigEntry.class).stream(StringConfigEntry.class).forEach(updateShared::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)));