mirror of
https://github.com/Caraxi/mare.client.git
synced 2025-12-12 21:27:21 +01:00
add file picker for cache folder, revert manually made glamourer changes while mare is active
This commit is contained in:
parent
b42de9a8a7
commit
404ba8e278
4 changed files with 95 additions and 15 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue