Adjust batch exporting directoires
This commit is contained in:
parent
3a4e3efec5
commit
488bbe58f7
@ -191,6 +191,8 @@ namespace FirstPlugin
|
||||
if (FileFormat is SARC)
|
||||
{
|
||||
string ArchiveFilePath = Path.Combine(folderDialog.SelectedPath, Path.GetFileNameWithoutExtension(file));
|
||||
ArchiveFilePath = Path.GetDirectoryName(ArchiveFilePath);
|
||||
|
||||
if (!Directory.Exists(ArchiveFilePath))
|
||||
Directory.CreateDirectory(ArchiveFilePath);
|
||||
|
||||
|
@ -130,6 +130,7 @@ namespace FirstPlugin
|
||||
if (FileFormat is SARC)
|
||||
{
|
||||
string ArchiveFilePath = Path.Combine(folderDialog.SelectedPath, Path.GetFileNameWithoutExtension(file));
|
||||
ArchiveFilePath = Path.GetDirectoryName(ArchiveFilePath);
|
||||
if (!Directory.Exists(ArchiveFilePath))
|
||||
Directory.CreateDirectory(ArchiveFilePath);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user