Sort Steam games by name

This commit is contained in:
Empathic Qubit 2021-04-19 08:38:58 -04:00
parent 8e624e4a5a
commit 0b0e7588bb

View file

@ -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)"