mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
Shift in thinking about output name
This commit is contained in:
@@ -1441,7 +1441,7 @@ Make a selection:
|
||||
string extension = (datdata.OutputFormat == OutputFormat.Xml || datdata.OutputFormat == OutputFormat.SabreDat ? ".xml" : ".dat");
|
||||
if (outdir == "" && Path.GetExtension(file) == extension)
|
||||
{
|
||||
datdata.Description += ".new";
|
||||
datdata.FileName += ".new";
|
||||
}
|
||||
|
||||
Output.WriteDatfile(datdata, (outdir == "" ? Path.GetDirectoryName(file) : outdir + Path.GetDirectoryName(file).Remove(0, filename.Length + 1)), logger);
|
||||
|
||||
Reference in New Issue
Block a user