diff options
| author | Fuwn <[email protected]> | 2021-08-24 17:18:24 +0000 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2021-08-24 17:18:24 +0000 |
| commit | 25a311cc84ef7111375afa2f9206719fa0193e38 (patch) | |
| tree | d2d52c6f5a70bbcb03ab85d58dfc09d6b7b4d987 | |
| parent | refactor(library): log using fmtlib (diff) | |
| download | soyuz-25a311cc84ef7111375afa2f9206719fa0193e38.tar.xz soyuz-25a311cc84ef7111375afa2f9206719fa0193e38.zip | |
refactor(soyuz): move hook log
| -rw-r--r-- | soyuz/library.cc | 1 | ||||
| -rw-r--r-- | soyuz/soyuz.cc | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/soyuz/library.cc b/soyuz/library.cc index 83c6072..a169ac5 100644 --- a/soyuz/library.cc +++ b/soyuz/library.cc @@ -45,7 +45,6 @@ auto find_lunar() -> DWORD { DWORD pid; GetWindowThreadProcessId(window, &pid); - log("hooked lunar client"); log("you may now close this window"); return pid; } diff --git a/soyuz/soyuz.cc b/soyuz/soyuz.cc index 95b346c..e6afbce 100644 --- a/soyuz/soyuz.cc +++ b/soyuz/soyuz.cc @@ -67,6 +67,7 @@ auto WinMain(HINSTANCE instance, HINSTANCE previous, LPSTR argument, int show) - soyuz::exit(1); } soyuz::log(fmt::format("located lunar client: pid {}", GetLastError())); + soyuz::log("hooked lunar client"); soyuz::log("you may now close this window"); while (!stop.stop_requested()) { if (soyuz::delete_handle(pid) == 1) { |