diff --git a/src/c#/.idea/.idea.GeneralUpdate/.idea/.gitignore b/src/c#/.idea/.idea.GeneralUpdate/.idea/.gitignore deleted file mode 100644 index 16e693ecfd17514929e9872c01c79701eaa7df7f..0000000000000000000000000000000000000000 --- 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 717e0bc8e32c6df7277d2bfb40463910ec269bcb..c1b58af2d61cb7f2b397668ebc6323d3ee409126 100644 --- a/src/c#/GeneralUpdate.Client/MainPage.xaml.cs +++ b/src/c#/GeneralUpdate.Client/MainPage.xaml.cs @@ -73,7 +73,7 @@ namespace GeneralUpdate.Client .Option(UpdateOption.Format, Format.ZIP) .Strategy() //注入一个func让用户决定是否跳过本次更新,如果是强制更新则不生效 - .SetCustomOption(ShowCustomOption) + .SetCustomSkipOption(ShowCustomOption) //默认黑名单文件: { "Newtonsoft.Json.dll" } 默认黑名单文件扩展名: { ".patch", ".7z", ".zip", ".rar", ".tar" , ".json" } //如果不需要扩展,需要重新传入黑名单集合来覆盖。 .SetBlacklist(GetBlackFiles(), GetBlackFormats())