Moved Namalsk patching.
Namalsk server mods patching moved to update scope.
This commit is contained in:
22
Start.bat
22
Start.bat
@@ -1,6 +1,19 @@
|
||||
@echo off
|
||||
set scriptPath=%~dp0
|
||||
set customPath=D:\DayZ\Server\.customs
|
||||
set customPath=Z:\Servers\dayzserver\.customs
|
||||
|
||||
set d=%DATE%
|
||||
set t=%TIME:~0,8%
|
||||
set t=%t: =0%
|
||||
set t=%t::=-%
|
||||
set day=%d:~0,2%
|
||||
set month=%d:~3,2%
|
||||
set year=%d:~6%
|
||||
set filename=wDayzManager_%year%-%month%-%day%_%t%.log
|
||||
|
||||
::: Kill ghost instances
|
||||
taskkill /im DayZServer_x64.exe /F >nul 2>&1
|
||||
timeout 3 /nobreak >nul
|
||||
|
||||
cd /d %scriptPath%
|
||||
pushd %scriptPath%
|
||||
@@ -12,11 +25,6 @@ if "%1" equ "-U" set update=1
|
||||
if "%1" equ "-u" set update=1
|
||||
if "%1" equ "--update" set update=1
|
||||
|
||||
powershell -ExecutionPolicy RemoteSigned -File wDayzManager.ps1 %update%
|
||||
@REM powershell -ExecutionPolicy RemoteSigned -File wDayzManager.ps1 %update% > wDayzManager.log
|
||||
|
||||
@REM echo Customization...
|
||||
@REM cd /d %customPath%
|
||||
@REM copy /Y messages.xml d:\dayz\server\mpmissions\hardcore.namalsk\db
|
||||
powershell -ExecutionPolicy RemoteSigned -File wDayzManager.ps1 %update% > %filename%
|
||||
|
||||
popd
|
||||
|
||||
Reference in New Issue
Block a user