Skip to content

Commit

Permalink
fix regression
Browse files Browse the repository at this point in the history
  • Loading branch information
mgth committed Mar 10, 2024
1 parent f65278e commit be863f2
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions LittleBigMouse.Daemon/LittleBigMouse.Hook/LittleBigMouse.Hook.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -68,21 +68,6 @@ std::string GetParentProcess()

int main(int argc, char *argv[]){

RemoteServerSocket server;
MouseEngine engine;
Hooker hook;

auto daemon = LittleBigMouseDaemon( &server , &engine, &hook );
daemon.Run("");

#if defined(_DEBUG)
system("pause");
#endif
return 0;
}

int old_main(int argc, char *argv[]){

constexpr LPCWSTR szUniqueNamedMutex = L"LittleBigMouse_Daemon";

HANDLE hHandle = CreateMutex(nullptr, TRUE, szUniqueNamedMutex);
Expand Down

0 comments on commit be863f2

Please sign in to comment.