mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 18:27:23 +01:00
Merge pull request #401 from goatcorp/fixCleanup
This commit is contained in:
commit
da579f7cd6
1 changed files with 2 additions and 2 deletions
|
|
@ -514,7 +514,7 @@ namespace Dalamud.Plugin.Internal
|
|||
if (!isVersion)
|
||||
{
|
||||
Log.Debug($"Not a version, cleaning up {dir.FullName}");
|
||||
dir.Delete();
|
||||
dir.Delete(true);
|
||||
}
|
||||
|
||||
return version;
|
||||
|
|
@ -558,7 +558,7 @@ namespace Dalamud.Plugin.Internal
|
|||
continue;
|
||||
}
|
||||
|
||||
if (manifest.DalamudApiLevel < DalamudApiLevel)
|
||||
if (manifest.DalamudApiLevel < DalamudApiLevel && !this.dalamud.Configuration.LoadAllApiLevels)
|
||||
{
|
||||
Log.Information($"Lower API: cleaning up {versionDir.FullName}");
|
||||
versionDir.Delete(true);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue