From 0b0e7588bb8db7eb1fb7735b5ab1e39d5ff74064 Mon Sep 17 00:00:00 2001 From: empathicqubit Date: Mon, 19 Apr 2021 08:38:58 -0400 Subject: [PATCH] Sort Steam games by name --- create.ps1 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/create.ps1 b/create.ps1 index 083edf3..5c60aa4 100644 --- a/create.ps1 +++ b/create.ps1 @@ -122,6 +122,8 @@ Function Prompt-SteamGame() { } } + $appManifests = $appManifests | sort {$_.name} + $idx = Create-Menu -MenuTitle "Select a game" -MenuOptions ($appManifests | % {$_.name} ) $appManifest = $appManifests[$idx] $installDir = "$(Split-Path $appManifest.path)/common/$($appManifest.installdir)"