mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
Allow for a different output directory on convert; preserve file structure if in a folder
This commit is contained in:
@@ -68,6 +68,9 @@ namespace SabreTools.Helper
|
||||
outDir += Path.DirectorySeparatorChar;
|
||||
}
|
||||
|
||||
// Create the output directory if it doesn't already exist
|
||||
Directory.CreateDirectory(outDir);
|
||||
|
||||
// (currently uses current time, change to "last updated time")
|
||||
logger.User("Opening file for writing: " + outDir + datdata.Description + (datdata.OutputFormat == OutputFormat.Xml ? ".xml" : ".dat"));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user