mirror of
https://github.com/HIllya51/LunaHook.git
synced 2024-11-30 17:15:38 +08:00
issues/690
This commit is contained in:
parent
0231eb24e2
commit
d137d0343c
@ -3,12 +3,13 @@
|
||||
class Renpy:public ENGINE{
|
||||
public:
|
||||
Renpy(){
|
||||
|
||||
check_by=CHECK_BY::CUSTOM;
|
||||
check_by_target=[](){
|
||||
//Renpy - sample game https://vndb.org/v19843
|
||||
return Util::CheckFile(L"*.py")|| GetModuleHandleW(L"librenpython.dll");
|
||||
};
|
||||
//使用lunatranslator启动游戏,会把cwd修改成exe所在目录,其中没有.py
|
||||
check_by=CHECK_BY::ALL_TRUE;
|
||||
// check_by=CHECK_BY::CUSTOM;
|
||||
// check_by_target=[](){
|
||||
// //Renpy - sample game https://vndb.org/v19843
|
||||
// return Util::CheckFile(L"*.py")|| GetModuleHandleW(L"librenpython.dll");
|
||||
// };
|
||||
};
|
||||
bool attach_function();
|
||||
};
|
||||
|
@ -4,11 +4,12 @@ class Renpy:public ENGINE{
|
||||
public:
|
||||
Renpy(){
|
||||
|
||||
check_by=CHECK_BY::CUSTOM;
|
||||
check_by_target=[](){
|
||||
//Renpy - sample game https://vndb.org/v19843
|
||||
return Util::CheckFile(L"*.py")|| GetModuleHandleW(L"librenpython.dll");
|
||||
};
|
||||
check_by=CHECK_BY::ALL_TRUE;
|
||||
// check_by=CHECK_BY::CUSTOM;
|
||||
// check_by_target=[](){
|
||||
// //Renpy - sample game https://vndb.org/v19843
|
||||
// return Util::CheckFile(L"*.py")|| GetModuleHandleW(L"librenpython.dll");
|
||||
// };
|
||||
};
|
||||
bool attach_function();
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user