diff --git a/src/c#/.idea/.idea.GeneralUpdate/.idea/.gitignore b/src/c#/.idea/.idea.GeneralUpdate/.idea/.gitignore deleted file mode 100644 index 16e693ec..00000000 --- a/src/c#/.idea/.idea.GeneralUpdate/.idea/.gitignore +++ /dev/null @@ -1,13 +0,0 @@ -# Default ignored files -/shelf/ -/workspace.xml -# Rider ignored files -/projectSettingsUpdater.xml -/modules.xml -/contentModel.xml -/.idea.GeneralUpdate.iml -# Editor-based HTTP Client requests -/httpRequests/ -# Datasource local storage ignored files -/dataSources/ -/dataSources.local.xml diff --git a/src/c#/GeneralUpdate.Client/MainPage.xaml.cs b/src/c#/GeneralUpdate.Client/MainPage.xaml.cs index 717e0bc8..c1b58af2 100644 --- a/src/c#/GeneralUpdate.Client/MainPage.xaml.cs +++ b/src/c#/GeneralUpdate.Client/MainPage.xaml.cs @@ -73,7 +73,7 @@ private void Upgrade() .Option(UpdateOption.Format, Format.ZIP) .Strategy() //注入一个func让用户决定是否跳过本次更新,如果是强制更新则不生效 - .SetCustomOption(ShowCustomOption) + .SetCustomSkipOption(ShowCustomOption) //默认黑名单文件: { "Newtonsoft.Json.dll" } 默认黑名单文件扩展名: { ".patch", ".7z", ".zip", ".rar", ".tar" , ".json" } //如果不需要扩展,需要重新传入黑名单集合来覆盖。 .SetBlacklist(GetBlackFiles(), GetBlackFormats())