Changed Version Name and Finalized Cherwell Kill Function

This commit is contained in:
brotoskyj
2025-01-03 15:14:05 -05:00
parent 7dfdf92d19
commit af07944166
2 changed files with 6 additions and 4 deletions
+5 -3
View File
@@ -908,7 +908,9 @@ $cherwellKillProcessToolStripMenuItem.Name = "Kill all Local Cherwell Processes"
$cherwellKillProcessToolStripMenuItem.Size = New-Object System.Drawing.Size(93, 22)
$cherwellKillProcessToolStripMenuItem.Text = "Kill all Local Cherwell Processes"
$cherwellKillProcessToolStripMenuItem.Add_Click(
Get-Process | Where-Object {$_.Path -like "*Cherwell*"} | Stop-Process
{
Get-Process | Where-Object {$_.Path -like "*Cherwell*"} | Stop-Process
}
)
#
#
@@ -1334,12 +1336,12 @@ $Form1.FormBorderStyle = [System.Windows.Forms.FormBorderStyle]::FixedDialog
$Form1.MaximizeBox = $false
$Form1.Name = "Form1"
$Form1.StartPosition = [System.Windows.Forms.FormStartPosition]::CenterParent
$Form1.Text = "CHAMP - 20241231"
$Form1.Text = "CHAMP - Agile Axolotl"
Function preflight () {
$preflightCounter = [int] 0
$preflightDependancies = ""
Write-Host "Running Pre-Flight checks...`n"
$currentVersion = "20241231"
$currentVersion = "20250103"
$version = Invoke-WebRequest -URI https://git.racooncity.org/brotoskyj/CHAMP/raw/branch/master/version.txt | Select-Object -ExpandProperty Content
Write-Host "Version Check:"
Write-Host "Local Version: $currentVersion"