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){
|
bool tryhookv8_internal(HMODULE hm){
|
||||||
auto succ=hookstring(hm);
|
auto succ=hookstring(hm);
|
||||||
if(v8script::v8runscript(hm))
|
if(!std::filesystem::exists(std::filesystem::path(GetModuleFilename().value()).replace_filename("disable.clipboard")))
|
||||||
succ|= hookClipboard();
|
if(v8script::v8runscript(hm))
|
||||||
|
succ|= hookClipboard();
|
||||||
return succ;
|
return succ;
|
||||||
}
|
}
|
||||||
bool tryhookv8() {
|
bool tryhookv8() {
|
||||||
|
Loading…
Reference in New Issue
Block a user