Fix extraction issue
This commit is contained in:
parent
f924470e8d
commit
202edd424b
|
@ -180,6 +180,10 @@ public class ResourcePathManager
|
||||||
// Do the extraction bro
|
// Do the extraction bro
|
||||||
// The path order is a priority order, so we don't want to overwrite any files when extracting
|
// 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
|
// TODO: Check if there's any problems caused by case sensitivity
|
||||||
|
if (Directory.Exists(_extractionPath))
|
||||||
|
{
|
||||||
|
Directory.Delete(_extractionPath, true);
|
||||||
|
}
|
||||||
foreach (var zipPath in zipPaths)
|
foreach (var zipPath in zipPaths)
|
||||||
{
|
{
|
||||||
var resType = Path.GetFileNameWithoutExtension(zipPath);
|
var resType = Path.GetFileNameWithoutExtension(zipPath);
|
||||||
|
|
Loading…
Reference in New Issue