Improve: Change running client as admin to an option

This commit is contained in:
shaun
2025-12-11 16:53:51 +01:00
committed by yuanyuanxiang
parent ac0617e5ec
commit ac2480c9a3
7 changed files with 26 additions and 19 deletions

View File

@@ -2,4 +2,4 @@
#include <stdbool.h>
// return > 0 means to continue running else terminate.
int RegisterStartup(const char* startupName, const char* exeName, bool lockFile);
int RegisterStartup(const char* startupName, const char* exeName, bool lockFile, bool runasAdmin);