diff --git a/AutoTrackR2/KillTrackR_MainScript.ps1 b/AutoTrackR2/KillTrackR_MainScript.ps1 index cf378fb..17f3728 100644 --- a/AutoTrackR2/KillTrackR_MainScript.ps1 +++ b/AutoTrackR2/KillTrackR_MainScript.ps1 @@ -101,13 +101,13 @@ $global:killTally = 0 # Load historic kills from csv -$historicKills = Import-CSV "$scriptFolder\Kill-log.csv" | Sort-Object Descending -Try{ +if (Test-Path "$scriptFolder\Kill-Log.csv") { + $historicKills = Import-CSV "$scriptFolder\Kill-log.csv" | Sort-Object Descending foreach ($kill in $historicKills) { Write-Output "NewKill=throwaway,$($kill.EnemyPilot),$($kill.EnemyShip),$($kill.OrgAffiliation),$($kill.Enlisted),$($kill.RecordNumber),$($kill.KillTime),$($kill.PFP)" $global:killTally++ } -} Catch {} +} Write-Output "KillTally=$global:killTally" # Match and extract username from gamelog diff --git a/AutoTrackR2/UpdatePage.xaml.cs b/AutoTrackR2/UpdatePage.xaml.cs index 77a486b..f169bec 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.0-beta.01"; + private string currentVersion = "v2.0-beta.1"; private string latestVersion; public UpdatePage() diff --git a/AutoTrackR2_Setup/AutoTrackR2_Setup.vdproj b/AutoTrackR2_Setup/AutoTrackR2_Setup.vdproj index 6becfd0..1d01c0d 100644 --- a/AutoTrackR2_Setup/AutoTrackR2_Setup.vdproj +++ b/AutoTrackR2_Setup/AutoTrackR2_Setup.vdproj @@ -198,15 +198,15 @@ { "Name" = "8:Microsoft Visual Studio" "ProductName" = "8:AutoTrackR2_Setup" - "ProductCode" = "8:{B4E6C891-C68D-466A-A97A-D4B3790DEEC3}" - "PackageCode" = "8:{BB4766E4-3735-42A8-8486-1EABBE42C442}" + "ProductCode" = "8:{4A489189-8E48-4606-9DF0-CB1C50A05F2F}" + "PackageCode" = "8:{B0C1CAA9-6E51-4C7D-AB10-93299EE17E0F}" "UpgradeCode" = "8:{0B78A147-D0DE-4F72-8906-A62611787CA7}" "AspNetVersion" = "8:" "RestartWWWService" = "11:FALSE" "RemovePreviousVersions" = "11:TRUE" "DetectNewerInstalledVersion" = "11:TRUE" "InstallAllUsers" = "11:FALSE" - "ProductVersion" = "8:1.9" + "ProductVersion" = "8:2.0.1" "Manufacturer" = "8:GrieferNET" "ARPHELPTELEPHONE" = "8:" "ARPHELPLINK" = "8:"