Skip to content

Commit 3d691b4

Browse files
committed
Detail: DarkYellow
1 parent 253dc4d commit 3d691b4

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

Sources/Winget-AutoUpdate/Winget-Upgrade.ps1

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ if (Test-Network) {
210210
#Compare
211211
if ((Compare-SemVer -Version1 $WAUCurrentVersion -Version2 $WAUAvailableVersion) -lt 0) {
212212
#If new version is available, update it
213-
Write-ToLog "WAU Available version: $WAUAvailableVersion" "Darkyellow";
213+
Write-ToLog "WAU Available version: $WAUAvailableVersion" "DarkYellow";
214214
Update-WAU;
215215
}
216216
else {
@@ -246,10 +246,10 @@ if (Test-Network) {
246246
}
247247
if ($NewList) {
248248
if ($AlwaysDownloaded) {
249-
Write-ToLog "List downloaded/copied to local path: $($WAUConfig.InstallLocation.TrimEnd(" ", "\"))" "Darkyellow"
249+
Write-ToLog "List downloaded/copied to local path: $($WAUConfig.InstallLocation.TrimEnd(" ", "\"))" "DarkYellow"
250250
}
251251
else {
252-
Write-ToLog "Newer List downloaded/copied to local path: $($WAUConfig.InstallLocation.TrimEnd(" ", "\"))" "Darkyellow"
252+
Write-ToLog "Newer List downloaded/copied to local path: $($WAUConfig.InstallLocation.TrimEnd(" ", "\"))" "DarkYellow"
253253
}
254254
$Script:AlwaysDownloaded = $False
255255
}
@@ -284,14 +284,14 @@ if (Test-Network) {
284284
$Script:ReachNoPath = $False
285285
}
286286
if ($NewMods -gt 0) {
287-
Write-ToLog "$NewMods newer Mods downloaded/copied to local path: $($WAUConfig.InstallLocation.TrimEnd(" ", "\"))\mods" "Darkyellow"
287+
Write-ToLog "$NewMods newer Mods downloaded/copied to local path: $($WAUConfig.InstallLocation.TrimEnd(" ", "\"))\mods" "DarkYellow"
288288
}
289289
else {
290290
if (Test-Path "$WorkingDir\mods\*.ps1") {
291291
Write-ToLog "Mods are up to date." "Green"
292292
}
293293
else {
294-
Write-ToLog "No Mods are implemented..." "Darkyellow"
294+
Write-ToLog "No Mods are implemented..." "DarkYellow"
295295
}
296296
}
297297
if ($DeletedMods -gt 0) {
@@ -563,7 +563,7 @@ if (Test-Network) {
563563
}
564564

565565
#Get outdated Winget packages
566-
Write-ToLog "Checking application updates on Winget Repository named '$($Script:WingetSourceCustom)' .." "Darkyellow"
566+
Write-ToLog "Checking application updates on Winget Repository named '$($Script:WingetSourceCustom)' .." "DarkYellow"
567567
$outdated = Get-WingetOutdatedApps -src $Script:WingetSourceCustom;
568568

569569
#If something unusual happened or no update found
@@ -648,7 +648,7 @@ if (Test-Network) {
648648
#Test if _WAU-mods-postsys.ps1 exists: Mods for WAU (postsys) - if Network is active/any Winget is installed/running as SYSTEM _after_ SYSTEM updates
649649
if ($true -eq $IsSystem) {
650650
if (Test-Path "$Mods\_WAU-mods-postsys.ps1") {
651-
Write-ToLog "Running Mods (postsys) for WAU..." "Darkyellow"
651+
Write-ToLog "Running Mods (postsys) for WAU..." "DarkYellow"
652652
& "$Mods\_WAU-mods-postsys.ps1"
653653
}
654654
}

0 commit comments

Comments
 (0)