Changed default Output Encoding
Changed default Output Encoding for better readable log filepull/12/head
parent
8fc4b5ecb6
commit
75ff069e37
|
@ -9,6 +9,7 @@ function Init {
|
|||
$Log | Write-host
|
||||
try{
|
||||
#Logs initialisation
|
||||
[Console]::OutputEncoding = [System.Text.Encoding]::UTF8
|
||||
$LogPath = "$WorkingDir\logs"
|
||||
if (!(Test-Path $LogPath)){
|
||||
New-Item -ItemType Directory -Force -Path $LogPath
|
||||
|
|
Loading…
Reference in New Issue