fix(windows): Correct binPath syntax in install-service.bat (#4290)
This commit is contained in:
@@ -58,7 +58,7 @@ if exist "%SERVICE_CONFIG_FILE%" (
|
|||||||
echo Setting service start type set to: [!SERVICE_START_TYPE!]
|
echo Setting service start type set to: [!SERVICE_START_TYPE!]
|
||||||
|
|
||||||
rem Run the sc command to create/reconfigure the service
|
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
|
rem Set the description of the service
|
||||||
sc description %SERVICE_NAME% "Sunshine is a self-hosted game stream host for Moonlight."
|
sc description %SERVICE_NAME% "Sunshine is a self-hosted game stream host for Moonlight."
|
||||||
|
|||||||
Reference in New Issue
Block a user