Skip to content

Commit

Permalink
fixed menu error
Browse files Browse the repository at this point in the history
  • Loading branch information
tutulino committed Mar 19, 2018
1 parent a52875a commit 2a6f7d5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Megaminer.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,9 @@ if ($MiningMode -ne "FARM MONITORING") {
#-----------------Ask user for pool/s to use, if a pool is indicated in parameters no prompt

switch ($MiningMode) {
"Automatic" {$Pools=Get_Pools -Querymode "Info" | Where-Object ActiveOnAutomaticMode -eq $true | sort name }
"Automatic24h" {$Pools=Get_Pools -Querymode "Info" | Where-Object ActiveOnAutomatic24hMode -eq $true | sort name }
"Manual" {$Pools=Get_Pools -Querymode "Info" | Where-Object ActiveOnManualMode -eq $true | sort name }
"MINE Automatic" {$MiningMode='AUTOMATIC';$Pools=Get_Pools -Querymode "Info" | Where-Object ActiveOnAutomaticMode -eq $true | Sort-Object name }
"MINE Automatic24h" {$MiningMode='AUTOMATIC24H';$Pools=Get_Pools -Querymode "Info" | Where-Object ActiveOnAutomatic24hMode -eq $true | Sort-Object name }
"MINE Manual" {$MiningMode='MANUAL';$Pools=Get_Pools -Querymode "Info" | Where-Object ActiveOnManualMode -eq $true | Sort-Object name }
}

$Pools | Add-Member Option "0"
Expand Down

0 comments on commit 2a6f7d5

Please sign in to comment.