diff --git a/src_assets/windows/misc/service/install-service.bat b/src_assets/windows/misc/service/install-service.bat index c2d0df48..1d158063 100644 --- a/src_assets/windows/misc/service/install-service.bat +++ b/src_assets/windows/misc/service/install-service.bat @@ -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."