Upload via GUI (180 Dateien)
This commit is contained in:
@@ -170,6 +170,12 @@ public static class Backup
|
||||
if (!s.Rules.Any(x => string.Equals(x.Contains, r.Contains, StringComparison.OrdinalIgnoreCase) &&
|
||||
string.Equals(x.Category, r.Category, StringComparison.OrdinalIgnoreCase)))
|
||||
s.Rules.Add(r);
|
||||
foreach (var g in from.LaunchGroups ?? [])
|
||||
if (!s.LaunchGroups.Any(x => string.Equals(x.Name, g.Name, StringComparison.OrdinalIgnoreCase)))
|
||||
s.LaunchGroups.Add(g);
|
||||
foreach (var snap in from.Snapshots ?? [])
|
||||
if (!s.Snapshots.Any(x => string.Equals(x.Name, snap.Name, StringComparison.OrdinalIgnoreCase)))
|
||||
s.Snapshots.Add(snap);
|
||||
s.Save();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user