Update winget-upgrade.ps1
parent
4fee69a5d9
commit
b899e9ed2e
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue