From 49764c43cd47b01729f4aa17b4edc65f47c6be2b Mon Sep 17 00:00:00 2001 From: Robomikel Date: Mon, 1 May 2023 21:27:00 -0600 Subject: [PATCH] updated - ssm menu fix --- functions/core_commands.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/functions/core_commands.ps1 b/functions/core_commands.ps1 index f9fa5b7..b39126c 100644 --- a/functions/core_commands.ps1 +++ b/functions/core_commands.ps1 @@ -89,13 +89,13 @@ Function Get-SSMMenu { } If ($command -eq "install A-D") { # $gamename = Menu (iex "Import-Csv $currentdir\data\serverlist.csv | Select-Object -ExpandProperty Game | Select-Object -First 42" ) - $gamename = Menu (iex "Import-Csv `"$currentdir\data\serverlist.csv`" | Select-Object -ExpandProperty Game | Select-String '^[A-E]'" ) + $gamename = Menu (iex "Import-Csv `"$currentdir\data\serverlist.csv`" | Select-Object -ExpandProperty Game | Select-String '^[A-D]'" ) $serverfiles = Import-Csv $currentdir\data\serverlist.csv | where-object Game -like "$gamename" | Select-Object -ExpandProperty ServerFolder $command = "install" } ElseIf ($command -eq "install E-M") { # $gamename = Menu (iex "Import-Csv $currentdir\data\serverlist.csv | Select-Object -ExpandProperty Game | Select-Object -Last 43" ) - $gamename = Menu (iex "Import-Csv `"$currentdir\data\serverlist.csv`" | Select-Object -ExpandProperty Game | Select-String '^[D-M]'" ) + $gamename = Menu (iex "Import-Csv `"$currentdir\data\serverlist.csv`" | Select-Object -ExpandProperty Game | Select-String '^[E-M]'" ) $serverfiles = Import-Csv $currentdir\data\serverlist.csv | where-object Game -like "$gamename" | Select-Object -ExpandProperty ServerFolder $command = "install" }