mirror of
https://github.com/HIllya51/LunaTranslator.git
synced 2024-12-27 15:44:12 +08:00
.
This commit is contained in:
parent
3b6cd76116
commit
330070f0f2
@ -10,7 +10,9 @@ public:
|
||||
check_by = CHECK_BY::CUSTOM;
|
||||
check_by_target = []()
|
||||
{
|
||||
return (wcscmp(processName_lower, L"suyu.exe") == 0 || wcscmp(processName_lower, L"yuzu.exe") == 0 || wcscmp(processName_lower, L"sudachi.exe") == 0);
|
||||
auto exes = {L"suyu.exe", L"yuzu.exe", L"sudachi.exe", L"citron.exe"};
|
||||
return std::any_of(exes.begin(), exes.end(), [](const wchar_t *e)
|
||||
{ return wcscmp(processName_lower, e) == 0; });
|
||||
};
|
||||
};
|
||||
bool attach_function();
|
||||
|
Loading…
x
Reference in New Issue
Block a user