diff --git a/SabreTools.IO/PathTool.cs b/SabreTools.IO/PathTool.cs index 51d3f997..6ea71816 100644 --- a/SabreTools.IO/PathTool.cs +++ b/SabreTools.IO/PathTool.cs @@ -172,10 +172,6 @@ namespace SabreTools.IO /// /// Get the current runtime directory /// - public static string GetRuntimeDirectory() - { - string exeName = new Uri(Assembly.GetExecutingAssembly().GetName().CodeBase).LocalPath; - return Path.GetDirectoryName(exeName); - } + public static string GetRuntimeDirectory() => Directory.GetCurrentDirectory(); } }