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

@@ -2,7 +2,6 @@
using System.IO;
using System.Text;
using SabreTools.Core;
using SabreTools.IO;
namespace SabreTools.Logging
@@ -28,7 +27,7 @@ namespace SabreTools.Logging
/// Optional output log directory
/// </summary>
/// TODO: Make this either passed in or optional
public static string LogDirectory { get; set; } = Path.Combine(Globals.ExeDir, "logs") + Path.DirectorySeparatorChar;
public static string LogDirectory { get; set; } = Path.Combine(PathTool.GetRuntimeDirectory(), "logs") + Path.DirectorySeparatorChar;
/// <summary>
/// Determines the lowest log level to output