issues/690

This commit is contained in:
恍兮惚兮 2024-04-27 00:02:44 +08:00
parent 0231eb24e2
commit d137d0343c
2 changed files with 13 additions and 11 deletions

View File

@ -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();
};

View File

@ -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();
};