diff --git a/MareSynchronos/MareSynchronos.csproj b/MareSynchronos/MareSynchronos.csproj index b9fa4a9..063f612 100644 --- a/MareSynchronos/MareSynchronos.csproj +++ b/MareSynchronos/MareSynchronos.csproj @@ -3,7 +3,7 @@ - 0.0.8.0 + 0.0.9.0 https://github.com/Penumbra-Sync/client diff --git a/MareSynchronos/UI/UIShared.cs b/MareSynchronos/UI/UIShared.cs index e571dcb..eda42d3 100644 --- a/MareSynchronos/UI/UIShared.cs +++ b/MareSynchronos/UI/UIShared.cs @@ -307,6 +307,7 @@ namespace MareSynchronos.UI public void DrawCacheDirectorySetting() { + ColorTextWrapped("Note: The cache folder should be somewhere close to root (i.e. C:\\MareCache) in a new empty folder. DO NOT point this to your game folder. DO NOT point this to your Penumbra folder.", ImGuiColors.DalamudYellow); var cacheDirectory = _pluginConfiguration.CacheFolder; if (ImGui.InputText("Cache Folder##cache", ref cacheDirectory, 255)) { diff --git a/MareSynchronos/WebAPI/ApIController.Functions.Files.cs b/MareSynchronos/WebAPI/ApIController.Functions.Files.cs index 1df37ac..0fb6bec 100644 --- a/MareSynchronos/WebAPI/ApIController.Functions.Files.cs +++ b/MareSynchronos/WebAPI/ApIController.Functions.Files.cs @@ -118,6 +118,11 @@ namespace MareSynchronos.WebAPI await Task.Delay(250, ct); } + if (ct.IsCancellationRequested) + { + CurrentDownloads.RemoveAll(d => fileReplacementDto.Any(f => f.Hash == d.Hash)); + } + CurrentDownloads.RemoveAll(d => d.Transferred == d.Total || !d.CanBeTransferred); }