From 40cb5da9ecd5ace4584aaa61004f3df892857907 Mon Sep 17 00:00:00 2001 From: Romain <96626929+Romanitho@users.noreply.github.com> Date: Mon, 20 Nov 2023 17:59:49 +0100 Subject: [PATCH] logs --- Winget-AutoUpdate/functions/Update-WinGet.ps1 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Winget-AutoUpdate/functions/Update-WinGet.ps1 b/Winget-AutoUpdate/functions/Update-WinGet.ps1 index 4aa52a0..cda5d8e 100644 --- a/Winget-AutoUpdate/functions/Update-WinGet.ps1 +++ b/Winget-AutoUpdate/functions/Update-WinGet.ps1 @@ -68,12 +68,12 @@ Function Update-WinGet { #If multiple versions, pick most recent one $WingetCmd = $WingetInfo[-1].FileName & $WingetCmd source reset --force - Write-ToLog "-> WinGet sources reset." "green" + Write-ToLog "-> WinGet sources reset.`n" "green" $return = "success" } catch { - Write-ToLog "-> Failed to install WinGet MSIXBundle for App Installer..." "red" + Write-ToLog "-> Failed to install WinGet MSIXBundle for App Installer...`n" "red" #Force Store Apps to update Update-StoreApps $return = "fail" @@ -86,7 +86,7 @@ Function Update-WinGet { return $return } else { - Write-ToLog "-> WinGet is up to date: v$WinGetInstalledVersion" "Green" + Write-ToLog "-> WinGet is up to date: v$WinGetInstalledVersion`n" "Green" return "current" } }