Update winget-upgrade.ps1

pull/14/head
Romain 2022-02-22 18:33:09 +01:00 committed by GitHub
parent 4fee69a5d9
commit b899e9ed2e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ function Init {
$Log | Write-host $Log | Write-host
try{ try{
#Logs initialisation #Logs initialisation
[Console]::OutputEncoding = [System.Text.Encoding]::UTF8 [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