Skip to content

Commit faa605d

Browse files
committed
Fix order of Chocolatey programs
1 parent f748292 commit faa605d

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎Install-Software.ps1‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,8 @@ $ChocoProgramsPersonal = [ordered]@{
170170
"Steam" = "steam", "Game store";
171171
}
172172
if (! $IsDomainJoined) {
173-
$ChocoPrograms += $ChocoProgramsPersonal
173+
Show-Output -ForegroundColor Cyan "You can safely ignore the `"key is not valid`" error below."
174+
$ChocoPrograms = Sort-Object ($ChocoPrograms + $ChocoProgramsPersonal)
174175
}
175176

176177
$WingetPrograms = [ordered]@{

0 commit comments

Comments
 (0)