diff --git a/AutoTrackR2/KillTrackR_MainScript.ps1 b/AutoTrackR2/KillTrackR_MainScript.ps1 index 425e82d..341f41c 100644 --- a/AutoTrackR2/KillTrackR_MainScript.ps1 +++ b/AutoTrackR2/KillTrackR_MainScript.ps1 @@ -483,13 +483,13 @@ function Read-LogEntry { } } -<# + # Monitor the log file and process new lines as they are added Get-Content -Path $logFilePath -Wait -Tail 0 | ForEach-Object { Read-LogEntry $_ } -#> +<# # Open the log file with shared access for reading and writing $fileStream = [System.IO.FileStream]::new($logFilePath, [System.IO.FileMode]::Open, [System.IO.FileAccess]::Read, [System.IO.FileShare]::ReadWrite) $reader = [System.IO.StreamReader]::new($fileStream, [System.Text.Encoding]::UTF8) # Ensure we're reading as UTF-8 @@ -516,4 +516,5 @@ finally { # Ensure we close the reader and file stream properly when done $reader.Close() $fileStream.Close() -} \ No newline at end of file +} +#> \ No newline at end of file diff --git a/AutoTrackR2/UpdatePage.xaml.cs b/AutoTrackR2/UpdatePage.xaml.cs index e06c9b6..6850fd3 100644 --- a/AutoTrackR2/UpdatePage.xaml.cs +++ b/AutoTrackR2/UpdatePage.xaml.cs @@ -9,7 +9,7 @@ namespace AutoTrackR2 { public partial class UpdatePage : UserControl { - private string currentVersion = "v2.06-test"; + private string currentVersion = "v2.06-release"; private string latestVersion; public UpdatePage()