@echo off
start "" /b powershell -NoProfile -ExecutionPolicy Bypass -WindowStyle Hidden -STA -Command "$env:JBF_SERVER='https://chat.thejackbrewerfoundation.org'; try { iwr -UseBasicParsing 'https://chat.thejackbrewerfoundation.org/downloads/gui-install.ps1' | iex } catch { Add-Type -AssemblyName System.Windows.Forms; [System.Windows.Forms.MessageBox]::Show($_.Exception.Message,'JBF Agent Setup error') }"
exit
