Skip to content

Commit

Permalink
1、自动更新时校验文件签名
Browse files Browse the repository at this point in the history
  • Loading branch information
JiuLing-zhang committed Feb 27, 2022
1 parent 785917f commit 4cd6475
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions src/AboutWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@ private void GoWebsite_RequestNavigate(object sender, RequestNavigateEventArgs e
private void BtnCheckUpdate_Click(object sender, RoutedEventArgs e)
{
var app = JiuLing.AutoUpgrade.Shell.AutoUpgradeFactory.Create();
app.SetUpgrade(x =>
{
x.IsCheckSign = true;
});
app.UseHttpMode(Resource.AutoUpgradePath).Run();
}
private static void OpenUrl(string url)
Expand Down
6 changes: 3 additions & 3 deletions src/FindDuplicateFiles.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<Win32Resource />
<Authors>九零</Authors>
<Product>重复文件查找</Product>
<Version>1.7.0</Version>
<Version>1.7.1</Version>
</PropertyGroup>

<ItemGroup>
Expand Down Expand Up @@ -202,8 +202,8 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="JiuLing.AutoUpgrade" Version="1.2.2" />
<PackageReference Include="JiuLing.CommonLibs" Version="1.2.2" />
<PackageReference Include="JiuLing.AutoUpgrade" Version="1.2.3" />
<PackageReference Include="JiuLing.CommonLibs" Version="1.2.3" />
</ItemGroup>

<ItemGroup>
Expand Down

0 comments on commit 4cd6475

Please sign in to comment.