issues/689

This commit is contained in:
恍兮惚兮 2024-04-26 23:29:20 +08:00
parent 9945800cff
commit 0231eb24e2

View File

@ -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() {