a fix to GetExeDirectoryAbsolute() that was breaking path generation
This commit is contained in:
parent
f3bb7421ed
commit
0eaf6bd33c
|
@ -8,7 +8,12 @@ namespace BizHawk.Client.Common
|
|||
{
|
||||
public static string GetExeDirectoryAbsolute()
|
||||
{
|
||||
return AppDomain.CurrentDomain.BaseDirectory;
|
||||
string path = AppDomain.CurrentDomain.BaseDirectory;
|
||||
if (path.EndsWith(Path.DirectorySeparatorChar.ToString()))
|
||||
{
|
||||
path = path.Remove(path.Length - 1, 1);
|
||||
}
|
||||
return path;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
|
Loading…
Reference in New Issue