mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
Alias GetCurrentDirectory
This commit is contained in:
@@ -172,10 +172,6 @@ namespace SabreTools.IO
|
||||
/// <summary>
|
||||
/// Get the current runtime directory
|
||||
/// </summary>
|
||||
public static string GetRuntimeDirectory()
|
||||
{
|
||||
string exeName = new Uri(Assembly.GetExecutingAssembly().GetName().CodeBase).LocalPath;
|
||||
return Path.GetDirectoryName(exeName);
|
||||
}
|
||||
public static string GetRuntimeDirectory() => Directory.GetCurrentDirectory();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user