Clean up global temp, exe dir

This commit is contained in:
Matt Nadareski
2020-12-11 22:52:28 -08:00
parent fd3f28eb7c
commit 056b0634f0
13 changed files with 23 additions and 74 deletions

View File

@@ -1,7 +1,6 @@
using System.Collections.Generic;
using System.IO;
using SabreTools.Core;
using SabreTools.DatFiles;
using SabreTools.DatTools;
using SabreTools.Help;
@@ -32,7 +31,7 @@ namespace RombaSharp.Features
Dictionary<string, string> foundDats = GetValidDats(Inputs);
// Create the new output directory if it doesn't exist
Path.Combine(Globals.ExeDir, "out").Ensure(create: true);
Path.Combine(PathTool.GetRuntimeDirectory(), "out").Ensure(create: true);
// Now that we have the dictionary, we can loop through and output to a new folder for each
foreach (string key in foundDats.Keys)