From 673e0fa4f4462f6a27149e579f459861fbeb0154 Mon Sep 17 00:00:00 2001 From: ReenigneArcher <42013603+ReenigneArcher@users.noreply.github.com> Date: Sat, 24 May 2025 23:34:45 -0400 Subject: [PATCH] fix(installer/windows): ensure service_bin is properly quoted (#3904) --- 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 4ab85fe8..fcec2e66 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."