From 71d788565302eb375b3e30897ff597bad7cb86d0 Mon Sep 17 00:00:00 2001 From: ReenigneArcher <42013603+ReenigneArcher@users.noreply.github.com> Date: Wed, 24 Sep 2025 10:40:33 -0400 Subject: [PATCH] fix(windows): Correct binPath syntax in install-service.bat (#4290) --- src_assets/windows/misc/service/install-service.bat | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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."