remove system.web dependency in DiscoHawk

This commit is contained in:
adelikat 2021-10-18 12:49:29 -05:00
parent dda83033bd
commit 681b564bce
1 changed files with 1 additions and 3 deletions

View File

@ -99,9 +99,7 @@ namespace BizHawk.Client.DiscoHawk
public static string GetExeDirectoryAbsolute()
{
var uri = new Uri(Assembly.GetEntryAssembly().GetName().CodeBase);
string module = uri.LocalPath + System.Web.HttpUtility.UrlDecode(uri.Fragment);
return Path.GetDirectoryName(module);
return Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location);
}
private static Assembly CurrentDomain_AssemblyResolve(object sender, ResolveEventArgs args)