fix empty result and bump version to 2.4.1

This commit is contained in:
HolographicHat
2022-12-07 23:36:18 +08:00
parent d2d5bafcd6
commit 31b77a9fb3
3 changed files with 110 additions and 109 deletions

View File

@@ -70,8 +70,8 @@ namespace Hook {
}
void Run(HMODULE* phModule) {
AllocConsole();
freopen_s((FILE**)stdout, "CONOUT$", "w", stdout);
//AllocConsole();
//freopen_s((FILE**)stdout, "CONOUT$", "w", stdout);
while (
GetModuleHandle("UserAssembly.dll") == nullptr ||
(unityWnd = FindMainWindowByPID(GetCurrentProcessId())) == 0