add file picker for cache folder, revert manually made glamourer changes while mare is active
This commit is contained in:
@@ -308,7 +308,17 @@ namespace MareSynchronos.Managers
|
||||
db.FileCaches.Remove(entry);
|
||||
}
|
||||
await db.SaveChangesAsync(ct);
|
||||
db.FileCaches.AddRange(fileCachesToAdd);
|
||||
foreach (var entry in fileCachesToAdd)
|
||||
{
|
||||
try
|
||||
{
|
||||
db.FileCaches.Add(entry);
|
||||
}
|
||||
catch
|
||||
{
|
||||
// ignored
|
||||
}
|
||||
}
|
||||
await db.SaveChangesAsync(ct);
|
||||
}
|
||||
catch (Exception ex)
|
||||
|
||||
Reference in New Issue
Block a user