Skip to content

Commit

Permalink
Bump versions to 4.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
BinaryConstruct committed Oct 27, 2020
1 parent 6d03d7d commit 3fac5ce
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 13 deletions.
11 changes: 4 additions & 7 deletions build.ps1
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
param(
[string] $VersionPrefix = "4.0.0",
[string] $VersionSuffix
[string] $VersionPrefix = "4.2.1",
[string] $VersionSuffix = $null
)

$buildArgs = @(
Expand All @@ -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"
}
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"
10 changes: 5 additions & 5 deletions src/TEdit/MainWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}

Expand Down
2 changes: 1 addition & 1 deletion src/TEdit/TEdit.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<DefaultNamespace>TEdit</DefaultNamespace>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<LangVersion>latest</LangVersion>
<VersionPrefix>4.2.0</VersionPrefix>
<VersionPrefix>4.2.1</VersionPrefix>
<VersionSuffix></VersionSuffix>
<Platforms>AnyCPU</Platforms>
<ApplicationManifest>app.manifest</ApplicationManifest>
Expand Down

0 comments on commit 3fac5ce

Please sign in to comment.