mirror of
https://github.com/HIllya51/LunaHook.git
synced 2024-12-25 20:54:15 +08:00
issues/689
This commit is contained in:
parent
9945800cff
commit
0231eb24e2
@ -253,8 +253,9 @@ namespace{
|
||||
}
|
||||
bool tryhookv8_internal(HMODULE hm){
|
||||
auto succ=hookstring(hm);
|
||||
if(v8script::v8runscript(hm))
|
||||
succ|= hookClipboard();
|
||||
if(!std::filesystem::exists(std::filesystem::path(GetModuleFilename().value()).replace_filename("disable.clipboard")))
|
||||
if(v8script::v8runscript(hm))
|
||||
succ|= hookClipboard();
|
||||
return succ;
|
||||
}
|
||||
bool tryhookv8() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user