Fix extraction issue

This commit is contained in:
Jarrod Doyle 2024-12-23 11:43:33 +00:00
parent f924470e8d
commit 202edd424b
Signed by: Jayrude
GPG Key ID: 38B57B16E7C0ADF7
1 changed files with 4 additions and 0 deletions

View File

@ -180,6 +180,10 @@ public class ResourcePathManager
// Do the extraction bro
// The path order is a priority order, so we don't want to overwrite any files when extracting
// TODO: Check if there's any problems caused by case sensitivity
if (Directory.Exists(_extractionPath))
{
Directory.Delete(_extractionPath, true);
}
foreach (var zipPath in zipPaths)
{
var resType = Path.GetFileNameWithoutExtension(zipPath);