win-service: enable auto startup

This commit is contained in:
plowsof 2023-01-02 05:18:48 +00:00
parent 9367b432f6
commit e91f35e030

View File

@ -196,7 +196,7 @@ bool install_service(
, 0
//, GENERIC_EXECUTE | GENERIC_READ
, SERVICE_WIN32_OWN_PROCESS
, SERVICE_DEMAND_START
, SERVICE_AUTO_START
, SERVICE_ERROR_NORMAL
, full_command.c_str()
, nullptr