Skip to content

Commit

Permalink
Merge pull request #18 from GeneralLibrary/dev
Browse files Browse the repository at this point in the history
fix: Solution compilation problem
  • Loading branch information
JusterZhu authored Nov 26, 2023
2 parents ac55bc2 + 89ba41b commit 5c70677
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 14 deletions.
13 changes: 0 additions & 13 deletions src/c#/.idea/.idea.GeneralUpdate/.idea/.gitignore

This file was deleted.

2 changes: 1 addition & 1 deletion src/c#/GeneralUpdate.Client/MainPage.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ private void Upgrade()
.Option(UpdateOption.Format, Format.ZIP)
.Strategy<WindowsStrategy>()
//注入一个func让用户决定是否跳过本次更新,如果是强制更新则不生效
.SetCustomOption(ShowCustomOption)
.SetCustomSkipOption(ShowCustomOption)
//默认黑名单文件: { "Newtonsoft.Json.dll" } 默认黑名单文件扩展名: { ".patch", ".7z", ".zip", ".rar", ".tar" , ".json" }
//如果不需要扩展,需要重新传入黑名单集合来覆盖。
.SetBlacklist(GetBlackFiles(), GetBlackFormats())
Expand Down

0 comments on commit 5c70677

Please sign in to comment.