From 1432afefdbdb487303f6055ccf2a36aa12b858ab Mon Sep 17 00:00:00 2001 From: Tiger Wang Date: Thu, 23 Jul 2020 00:12:16 +0100 Subject: Use string redirection in Windows service + Localisation support --- Server/install_windows_service.cmd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Server') diff --git a/Server/install_windows_service.cmd b/Server/install_windows_service.cmd index 84d69ee1a..a1b45d9a5 100644 --- a/Server/install_windows_service.cmd +++ b/Server/install_windows_service.cmd @@ -3,5 +3,5 @@ rem Alter this if you need to install multiple instances. set SERVICENAME="Cuberite" set CURRENTDIR=%CD% -sc create %SERVICENAME% binPath= "%CURRENTDIR%\Cuberite.exe -d" start= auto DisplayName= %SERVICENAME% -sc description %SERVICENAME% "Minecraft server instance" +sc create %SERVICENAME% binPath= "%CURRENTDIR%\Cuberite.exe -d" start= auto DisplayName= "@%CURRENTDIR%\Cuberite.exe,-1" +sc description %SERVICENAME% "@%CURRENTDIR%\Cuberite.exe,-2" -- cgit v1.2.3