Skip to content

Commit

Permalink
Fixed update progress text
Browse files Browse the repository at this point in the history
  • Loading branch information
hlysine committed Oct 6, 2020
1 parent 65f4fad commit 262dde5
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion QuickDictionary/MainWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,8 @@ private async void Window_SourceInitialized(object sender, EventArgs e)

using (var mgr = await UpdateManager.GitHubUpdateManager("https://github.com/Henry-YSLin/QuickDictionary"))
{
await mgr.UpdateApp((progress) => Dispatcher.Invoke(() => Title = title + (progress >= 99 ? "" : $" - Updating {progress}%")));
await mgr.UpdateApp((progress) => Dispatcher.Invoke(() => Title = title + $" - Updating {progress}%"));
Dispatcher.Invoke(() => Title = title);
}
}

Expand Down
4 changes: 2 additions & 2 deletions QuickDictionary/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -51,5 +51,5 @@
// 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.0.2.0")]
[assembly: AssemblyFileVersion("1.0.2.0")]
[assembly: AssemblyVersion("1.0.3.0")]
[assembly: AssemblyFileVersion("1.0.3.0")]
2 changes: 1 addition & 1 deletion QuickDictionary/QuickDictionary.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
<UpdateRequired>false</UpdateRequired>
<MapFileExtensions>true</MapFileExtensions>
<ApplicationRevision>0</ApplicationRevision>
<ApplicationVersion>1.0.2.0</ApplicationVersion>
<ApplicationVersion>1.0.3.0</ApplicationVersion>
<UseApplicationTrust>false</UseApplicationTrust>
<BootstrapperEnabled>true</BootstrapperEnabled>
</PropertyGroup>
Expand Down

0 comments on commit 262dde5

Please sign in to comment.