mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-13 12:14:16 +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)
|
if (!isVersion)
|
||||||
{
|
{
|
||||||
Log.Debug($"Not a version, cleaning up {dir.FullName}");
|
Log.Debug($"Not a version, cleaning up {dir.FullName}");
|
||||||
dir.Delete();
|
dir.Delete(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
return version;
|
return version;
|
||||||
|
|
@ -558,7 +558,7 @@ namespace Dalamud.Plugin.Internal
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (manifest.DalamudApiLevel < DalamudApiLevel)
|
if (manifest.DalamudApiLevel < DalamudApiLevel && !this.dalamud.Configuration.LoadAllApiLevels)
|
||||||
{
|
{
|
||||||
Log.Information($"Lower API: cleaning up {versionDir.FullName}");
|
Log.Information($"Lower API: cleaning up {versionDir.FullName}");
|
||||||
versionDir.Delete(true);
|
versionDir.Delete(true);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue