Skip to content

Commit

Permalink
Update NemosMiner.ps1
Browse files Browse the repository at this point in the history
  • Loading branch information
UselessGuru committed Oct 16, 2022
1 parent 04becbc commit 87e329d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion NemosMiner.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -1334,6 +1334,8 @@ $MainForm.Add_Load(

If ($Config.StartGUIMinimized) { $MainForm.WindowState = [System.Windows.Forms.FormWindowState]::Minimized }

$Variables.RefreshNeeded = $true

$Global:TimerUI = New-Object System.Windows.Forms.Timer
$Global:TimerUI.Add_Tick(
{
Expand Down Expand Up @@ -1495,7 +1497,7 @@ Function MainLoop {
}
"f" {
$Variables.ShowPoolFee = -not $Variables.ShowPoolFee
Write-Host "'Pool "; Write-Host "f" -ForegroundColor Cyan -NoNewline; Write-Host "ees' column visibility set to " -NoNewline; If ($Variables.ShowPoolFee) { Write-Host "on" -ForegroundColor Green -NoNewline } Else { Write-Host "off" -ForegroundColor Red -NoNewline }; Write-Host "."
Write-Host "'Pool "-NoNewline; Write-Host "f" -ForegroundColor Cyan -NoNewline; Write-Host "ees' column visibility set to " -NoNewline; If ($Variables.ShowPoolFee) { Write-Host "on" -ForegroundColor Green -NoNewline } Else { Write-Host "off" -ForegroundColor Red -NoNewline }; Write-Host "."
Start-Sleep -Seconds 1
$Variables.RefreshNeeded = $true
}
Expand Down

0 comments on commit 87e329d

Please sign in to comment.