summaryrefslogtreecommitdiffstats
path: root/Server/install_windows_service.cmd
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@outlook.com>2020-07-23 01:12:16 +0200
committerTiger Wang <ziwei.tiger@outlook.com>2020-07-23 22:17:58 +0200
commit1432afefdbdb487303f6055ccf2a36aa12b858ab (patch)
tree31db96654dad4b2b78100a94ca840b416e19a0e8 /Server/install_windows_service.cmd
parentzh-cn translation in resource file (diff)
downloadcuberite-1432afefdbdb487303f6055ccf2a36aa12b858ab.tar
cuberite-1432afefdbdb487303f6055ccf2a36aa12b858ab.tar.gz
cuberite-1432afefdbdb487303f6055ccf2a36aa12b858ab.tar.bz2
cuberite-1432afefdbdb487303f6055ccf2a36aa12b858ab.tar.lz
cuberite-1432afefdbdb487303f6055ccf2a36aa12b858ab.tar.xz
cuberite-1432afefdbdb487303f6055ccf2a36aa12b858ab.tar.zst
cuberite-1432afefdbdb487303f6055ccf2a36aa12b858ab.zip
Diffstat (limited to '')
-rw-r--r--Server/install_windows_service.cmd4
1 files changed, 2 insertions, 2 deletions
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"