Feature&fix: Show username on master program

This commit is contained in:
yuanyuanxiang
2025-11-04 00:15:35 +08:00
parent ea4472445d
commit 0f0dc968f7
4 changed files with 32 additions and 2 deletions

View File

@@ -199,6 +199,7 @@ int main(int argc, const char *argv[])
HANDLE hMutex = ::CreateMutexA(NULL, TRUE, "ghost.exe");
if (ERROR_ALREADY_EXISTS == GetLastError()) {
CloseHandle(hMutex);
hMutex = NULL;
#ifndef _DEBUG
return -2;
#endif