1
0
mirror of synced 2024-11-12 02:00:50 +01:00

Adjust batch exporting directoires

This commit is contained in:
KillzXGaming 2019-08-09 17:51:10 -04:00
parent 3a4e3efec5
commit 488bbe58f7
2 changed files with 3 additions and 0 deletions

View File

@ -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);

View File

@ -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);