Skip to content

Commit

Permalink
Fixed an issue that prevented AutoUpdater.NET from working when Assem…
Browse files Browse the repository at this point in the history
…blyTitle was in Chiense and HttpUserAgent wasn't defined. This resolves #314, resolves #311 and resolves #310.
  • Loading branch information
ravibpatel committed Sep 9, 2019
1 parent 70cd42e commit e173b51
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion AutoUpdater.NET/AutoUpdater.cs
Original file line number Diff line number Diff line change
Expand Up @@ -716,7 +716,7 @@ private static Attribute GetAttribute(Assembly assembly, Type attributeType)

internal static string GetUserAgent()
{
return string.IsNullOrEmpty(HttpUserAgent) ? $"{AppTitle}/{InstalledVersion}" : HttpUserAgent;
return string.IsNullOrEmpty(HttpUserAgent) ? $"AutoUpdater.NET" : HttpUserAgent;
}

internal static void SetTimer(DateTime remindLater)
Expand Down
4 changes: 2 additions & 2 deletions AutoUpdater.NET/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,6 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.5.6.0")]
[assembly: AssemblyFileVersion("1.5.6.0")]
[assembly: AssemblyVersion("1.5.7.0")]
[assembly: AssemblyFileVersion("1.5.7.0")]
[assembly: NeutralResourcesLanguageAttribute("en")]
2 changes: 1 addition & 1 deletion AutoUpdater.NET/build/Autoupdater.NET.Official.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
<metadata>
<id>Autoupdater.NET.Official</id>
<version>1.5.6</version>
<version>1.5.7</version>
<title>AutoUpdater.NET</title>
<authors>RBSoft</authors>
<owners>RBSoft</owners>
Expand Down
4 changes: 2 additions & 2 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
version: 1.5.6.{build}
version: 1.5.7.{build}
environment:
my_version: 1.5.6
my_version: 1.5.7
my_secret:
secure: vbPRaZLQYpGPr4BrZZ4p6TofpSZMud+FKtlpqjgO8aA=
skip_branch_with_pr: true
Expand Down

0 comments on commit e173b51

Please sign in to comment.