Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
hanmin0822 committed Jul 2, 2020
2 parents eb4b32f + 199657d commit 751f386
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions TextHookLibrary/TextHookHandle.cs
Original file line number Diff line number Diff line change
Expand Up @@ -142,18 +142,7 @@ public TextHookHandle()
/// <returns>成功返回真,失败返回假</returns>
public bool Init(bool x86 = true)
{
string Path;
if (x86 == true)
{
//打开x86的Textractor
Path = Environment.CurrentDirectory + "\\lib\\TextHook\\x86";
}
else
{
//打开x64的Textractor
Path = Environment.CurrentDirectory + "\\lib\\TextHook\\x64";
}

string Path = Environment.CurrentDirectory + @"\lib\TextHook\" + (x86 ? "x86" : "x64");//打开对应的Textractor
string CurrentPath = Environment.CurrentDirectory;
try
{
Expand Down

0 comments on commit 751f386

Please sign in to comment.