From 3fac5cebd7545a9da688b4e59438b09aac538238 Mon Sep 17 00:00:00 2001 From: binaryconstruct Date: Mon, 26 Oct 2020 21:20:00 -0500 Subject: [PATCH] Bump versions to 4.2.1 --- build.ps1 | 11 ++++------- src/TEdit/MainWindow.xaml.cs | 10 +++++----- src/TEdit/TEdit.csproj | 2 +- 3 files changed, 10 insertions(+), 13 deletions(-) diff --git a/build.ps1 b/build.ps1 index 3165bebe..d36a8e5e 100644 --- a/build.ps1 +++ b/build.ps1 @@ -1,6 +1,6 @@ param( - [string] $VersionPrefix = "4.0.0", - [string] $VersionSuffix + [string] $VersionPrefix = "4.2.1", + [string] $VersionSuffix = $null ) $buildArgs = @( @@ -22,8 +22,5 @@ if ($null -ne $VersionSuffix) { Remove-Item -Path ".\TEdit*.zip" -if ($null -ne $VersionSuffix) { - Compress-Archive -Path ".\src\TEdit\bin\Release\net462\publish\*" -DestinationPath ".\TEdit$VersionPrefix-$VersionSuffix.zip" -} else { - Compress-Archive -Path ".\src\TEdit\bin\Release\net462\publish\*" -DestinationPath ".\TEdit$VersionPrefix.zip" -} \ No newline at end of file +Compress-Archive -Path ".\src\TEdit\bin\Release\net462\publish\*" -DestinationPath ".\TEdit$VersionPrefix.zip" +#Compress-Archive -Path ".\src\TEdit\bin\Release\net462\publish\*" -DestinationPath ".\TEdit$VersionPrefix-$VersionSuffix.zip" \ No newline at end of file diff --git a/src/TEdit/MainWindow.xaml.cs b/src/TEdit/MainWindow.xaml.cs index 8b383cb4..43db5746 100644 --- a/src/TEdit/MainWindow.xaml.cs +++ b/src/TEdit/MainWindow.xaml.cs @@ -33,13 +33,13 @@ void MainWindow_Loaded(object sender, RoutedEventArgs e) { if (Settings.Default.Telemetry == -1) { - var enableTelemetry = MessageBox.Show( - "Do you wish to enable crash and error reporting?\r\nThis will send anonymized information for crash logs and feature usage\r\nto the developers and will help to track down and squash bugs.\r\nThis setting can be changed at any time from the file menu.\r\nThanks!", + MessageBox.Show( + "Error reporting is enabled. This will send anonymized information for crash logs and feature usage to the developers and will help to track down and squash bugs.\r\n\r\nThis setting can be changed at any time from the file menu, Thanks!", "Error Reporting", - MessageBoxButton.YesNo, - MessageBoxImage.Question); + MessageBoxButton.OK, + MessageBoxImage.Information); - _vm.EnableTelemetry = enableTelemetry == MessageBoxResult.Yes; + _vm.EnableTelemetry = true; } } diff --git a/src/TEdit/TEdit.csproj b/src/TEdit/TEdit.csproj index 74cd7539..cbebaa72 100644 --- a/src/TEdit/TEdit.csproj +++ b/src/TEdit/TEdit.csproj @@ -9,7 +9,7 @@ TEdit true latest - 4.2.0 + 4.2.1 AnyCPU app.manifest