This commit is contained in:
Alessandro Autiero
2024-05-20 17:24:00 +02:00
parent 7c2caed16c
commit 9f5590d41c
562 changed files with 3303 additions and 156787 deletions

View File

@@ -17,7 +17,7 @@ auto bdw = bitsdojo_window_configure(BDW_CUSTOM_FRAME | BDW_HIDE_ON_STARTUP);
#include <fcntl.h>
bool IsAlreadyOpen(){
HANDLE hMutex = CreateMutexW(NULL, TRUE, L"RebootLauncherMutex");
HANDLE hMutex = CreateMutexW(NULL, TRUE, L"RebootLauncherNewMutex");
if (hMutex == NULL && GetLastError() == ERROR_ALREADY_EXISTS) {
HWND hwndExisting = FindWindowW(NULL, L"Reboot Launcher");
if (hwndExisting != NULL) {