call WhackMOTW on .exe, besides just .dll. Fixes bug with windows prompting to allow execution of bsnes executables
This commit is contained in:
parent
fa8934b1d4
commit
9f3763409b
|
@ -129,6 +129,8 @@ namespace BizHawk.Client.DiscoHawk
|
|||
foreach (var disub in di.GetDirectories()) todo.Enqueue(disub);
|
||||
foreach (var fi in di.GetFiles("*.dll"))
|
||||
RemoveMOTW(fi.FullName);
|
||||
foreach (var fi in di.GetFiles("*.exe"))
|
||||
RemoveMOTW(fi.FullName);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -203,6 +203,8 @@ namespace BizHawk.Client.EmuHawk
|
|||
foreach (var disub in di.GetDirectories()) todo.Enqueue(disub);
|
||||
foreach (var fi in di.GetFiles("*.dll"))
|
||||
RemoveMOTW(fi.FullName);
|
||||
foreach (var fi in di.GetFiles("*.exe"))
|
||||
RemoveMOTW(fi.FullName);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue