Update winget-upgrade.ps1
parent
4fee69a5d9
commit
b899e9ed2e
|
@ -9,7 +9,7 @@ function Init {
|
|||
$Log | Write-host
|
||||
try{
|
||||
#Logs initialisation
|
||||
[Console]::OutputEncoding = [System.Text.Encoding]::UTF8
|
||||
[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