Use string redirection in Windows service
+ Localisation support
This commit is contained in:
parent
4f217c450b
commit
1432afefdb
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user