mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
[DatFile] Use helper method for rebuild depot
This commit is contained in:
@@ -3830,11 +3830,7 @@ namespace SabreTools.Library.DatFiles
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Check that the output directory exists
|
// Check that the output directory exists
|
||||||
if (!Directory.Exists(outDir))
|
outDir = Utilities.EnsureOutputDirectory(outDir, create: true);
|
||||||
{
|
|
||||||
Directory.CreateDirectory(outDir);
|
|
||||||
outDir = Path.GetFullPath(outDir);
|
|
||||||
}
|
|
||||||
|
|
||||||
// Now we want to get forcepack flag if it's not overridden
|
// Now we want to get forcepack flag if it's not overridden
|
||||||
if (outputFormat == OutputFormat.Folder && ForcePacking != ForcePacking.None)
|
if (outputFormat == OutputFormat.Folder && ForcePacking != ForcePacking.None)
|
||||||
|
|||||||
Reference in New Issue
Block a user