Merge pull request #12 from Romanitho/main

Changed default Output Encoding
pull/13/head
Romain 2022-02-22 17:40:40 +01:00 committed by GitHub
commit 181d7898bc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -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