Some fixes.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
# wDayzManager v0.3
|
||||
# wDayzManager v0.4
|
||||
# Copyright (c) 2024 Vladislav Salikov aka W0LF aka 'dreamforce'
|
||||
# https://github.com/dreamforceinc
|
||||
# Required module: PSIni
|
||||
@@ -11,10 +11,14 @@ param (
|
||||
)
|
||||
[bool]$update = $param
|
||||
|
||||
######################################################################### [ CONFIG ] ##########################################################################
|
||||
|
||||
[bool]$noDelete = $false # For tests - don't delete logs
|
||||
|
||||
###############################################################################################################################################################
|
||||
################################################################ [ !!! DON'T EDIT BELOW !!! ] #################################################################
|
||||
|
||||
[string]$myName = "wDayzManager"
|
||||
[string]$myVersion = "v0.4"
|
||||
[string]$steamScript = $myName + ".txt"
|
||||
[string]$iniFile = $myName + ".ini"
|
||||
if (-not (Test-Path -Path $iniFile)) {
|
||||
@@ -85,7 +89,7 @@ $date = Get-Date
|
||||
[int]$currentHour = ([datetime]$date).Hour
|
||||
|
||||
$date2 = Get-Date -Format 's' | ForEach-Object { $_ -replace 'T', ' ' }
|
||||
Write-Host "$($date2) Starting wDayzManager script"
|
||||
Write-Host "$($date2) Starting $($myName) $($myVersion) script"
|
||||
Write-Host "update = $($update), noDelete = $($noDelete)"
|
||||
|
||||
$ini = $config = $servers = $clientMods = $serverMods = $steamProcess = $null
|
||||
|
||||
Reference in New Issue
Block a user