Skip to content
This repository has been archived by the owner on May 5, 2023. It is now read-only.

Commit

Permalink
Downgrade version and update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
Soneliem committed Jun 29, 2022
1 parent 020c3e9 commit 62db78d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion WAIUA/VersionInfo.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>

<item>
<version>2.0.0.1</version>
<version>1.4.0.2</version>
<url>https://github.com/Soneliem/WAIUA/releases/latest/download/WAIUA.exe</url>
<changelog>https://github.com/Soneliem/WAIUA/releases/latest</changelog>
<mandatory>true</mandatory>
Expand Down
2 changes: 0 additions & 2 deletions WAIUA/Views/Settings.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,10 @@ private async Task CheckAuthAsync()

private async void Button_Click1Async(object sender, RoutedEventArgs e)
{
Mouse.OverrideCursor = Cursors.Wait;
CurrentVersion.Text = Assembly.GetExecutingAssembly().GetName().Version.ToString();
LatestVersion.Text = await GetLatestVersionAsync().ConfigureAwait(false);
AutoUpdater.Start("https://raw.githubusercontent.com/Soneliem/WAIUA/master/WAIUA/VersionInfo.xml");
await CheckAndUpdateJsonAsync().ConfigureAwait(false);
Mouse.OverrideCursor = Cursors.Arrow;
}

private static Task<string> GetLatestVersionAsync()
Expand Down
4 changes: 2 additions & 2 deletions WAIUA/WAIUA.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -146,13 +146,13 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Autoupdater.NET.Official" Version="1.7.1" />
<PackageReference Include="Autoupdater.NET.Official" Version="1.7.3" />
<PackageReference Include="FontAwesome6.Fonts" Version="2.0.6" />
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="6.0.0" />
<PackageReference Include="Microsoft.Toolkit.Mvvm" Version="7.1.2" />
<PackageReference Include="Microsoft.Xaml.Behaviors.Wpf" Version="1.1.39" />
<PackageReference Include="RestoreWindowPlace" Version="2.1.0" />
<PackageReference Include="RestSharp" Version="107.3.0" />
<PackageReference Include="RestSharp" Version="108.0.1" />
<PackageReference Include="Serilog" Version="2.11.0" />
<PackageReference Include="Serilog.Sinks.Async" Version="1.5.0" />
<PackageReference Include="Serilog.Sinks.File" Version="5.0.0" />
Expand Down

0 comments on commit 62db78d

Please sign in to comment.