fix(windows): Correct binPath syntax in install-service.bat (#4290)

This commit is contained in:
ReenigneArcher
2025-09-24 10:40:33 -04:00
committed by GitHub
parent d924dd9091
commit 71d7885653

View File

@@ -58,7 +58,7 @@ if exist "%SERVICE_CONFIG_FILE%" (
echo Setting service start type set to: [!SERVICE_START_TYPE!]
rem Run the sc command to create/reconfigure the service
sc %SC_CMD% %SERVICE_NAME% binPath= """%SERVICE_BIN%""" start= %SERVICE_START_TYPE% DisplayName= "Sunshine Service"
sc %SC_CMD% %SERVICE_NAME% binPath= "\"%SERVICE_BIN%\"" start= %SERVICE_START_TYPE% DisplayName= "Sunshine Service"
rem Set the description of the service
sc description %SERVICE_NAME% "Sunshine is a self-hosted game stream host for Moonlight."