mirror of
https://github.com/LorisYounger/VPet.git
synced 2024-08-30 18:42:36 +00:00
支持自动读取支持的dll
This commit is contained in:
parent
2f3933027a
commit
d9723eb36d
@ -231,6 +231,17 @@ namespace VPet_Simulator.Windows
|
|||||||
string authtype = "";
|
string authtype = "";
|
||||||
foreach (FileInfo tmpfi in di.EnumerateFiles("*.dll"))
|
foreach (FileInfo tmpfi in di.EnumerateFiles("*.dll"))
|
||||||
{
|
{
|
||||||
|
#if X64
|
||||||
|
if (tmpfi.Name.Contains("x86"))
|
||||||
|
{
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
#else
|
||||||
|
if (tmpfi.Name.Contains("x64"))
|
||||||
|
{
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
#endif
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
var path = tmpfi.Name;
|
var path = tmpfi.Name;
|
||||||
|
Loading…
Reference in New Issue
Block a user