mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
[FIleTools] Fix SuperDAT write out
This commit is contained in:
@@ -39,6 +39,12 @@ namespace SabreTools.Helper
|
|||||||
ZipArchive outarchive = null;
|
ZipArchive outarchive = null;
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
|
// If the full output path doesn't exist, create it
|
||||||
|
if (!Directory.Exists(Path.GetDirectoryName(archiveFileName)))
|
||||||
|
{
|
||||||
|
Directory.CreateDirectory(Path.GetDirectoryName(archiveFileName));
|
||||||
|
}
|
||||||
|
|
||||||
// If the archive doesn't exist, create it
|
// If the archive doesn't exist, create it
|
||||||
if (!File.Exists(archiveFileName))
|
if (!File.Exists(archiveFileName))
|
||||||
{
|
{
|
||||||
@@ -650,7 +656,7 @@ namespace SabreTools.Helper
|
|||||||
MD5 = string.Empty,
|
MD5 = string.Empty,
|
||||||
SHA1 = string.Empty,
|
SHA1 = string.Empty,
|
||||||
},
|
},
|
||||||
Date = temp.LastWriteTime.ToString(),
|
//Date = temp.LastWriteTime.ToString(),
|
||||||
};
|
};
|
||||||
|
|
||||||
try
|
try
|
||||||
|
|||||||
Reference in New Issue
Block a user