mirror of
https://github.com/HIllya51/LunaHook.git
synced 2024-11-23 13:55:36 +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…
Reference in New Issue
Block a user