commit
181d7898bc
|
@ -9,6 +9,7 @@ function Init {
|
||||||
$Log | Write-host
|
$Log | Write-host
|
||||||
try{
|
try{
|
||||||
#Logs initialisation
|
#Logs initialisation
|
||||||
|
[Console]::OutputEncoding = [System.Text.Encoding]::UTF8
|
||||||
$LogPath = "$WorkingDir\logs"
|
$LogPath = "$WorkingDir\logs"
|
||||||
if (!(Test-Path $LogPath)){
|
if (!(Test-Path $LogPath)){
|
||||||
New-Item -ItemType Directory -Force -Path $LogPath
|
New-Item -ItemType Directory -Force -Path $LogPath
|
||||||
|
|
Loading…
Reference in New Issue