mirror of
https://github.com/Caraxi/mare.client.git
synced 2025-12-15 05:54:14 +01:00
fix issue when penumbra mod folder contains a part of the path of cache folder
This commit is contained in:
parent
9142b2bee4
commit
afb1cf1429
5 changed files with 29 additions and 19 deletions
|
|
@ -1,13 +1,8 @@
|
|||
using Dalamud.Logging;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using MareSynchronos.FileCacheDB;
|
||||
using System.IO;
|
||||
using MareSynchronos.API;
|
||||
using MareSynchronos.Utils;
|
||||
using System.Text.RegularExpressions;
|
||||
using MareSynchronos.Managers;
|
||||
|
||||
|
|
@ -42,7 +37,6 @@ namespace MareSynchronos.Models
|
|||
_ = Task.Run(() =>
|
||||
{
|
||||
var cache = fileDbManager.GetFileCacheByPath(ResolvedPath);
|
||||
cache ??= fileDbManager.CreateFileCacheEntity(ResolvedPath);
|
||||
Hash = cache.OriginalHash;
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue