diff --git a/.vs/VSWorkspaceState.json b/.vs/VSWorkspaceState.json new file mode 100644 index 0000000..d315731 --- /dev/null +++ b/.vs/VSWorkspaceState.json @@ -0,0 +1,7 @@ +{ + "ExpandedNodes": [ + "" + ], + "SelectedNode": "\\DownKyi.sln", + "PreviewInSolutionExplorer": false +} \ No newline at end of file diff --git a/.vs/downkyi/v17/.suo b/.vs/downkyi/v17/.suo new file mode 100644 index 0000000..912494a Binary files /dev/null and b/.vs/downkyi/v17/.suo differ diff --git a/README.md b/README.md index 5888622..425c74a 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ ## 下载

- + GitHub release (latest by date) @@ -35,11 +35,6 @@

-## 赞助 - -如果这个项目对您有很大帮助,并且您希望支持该项目的开发和维护,请随时扫描一下二维码进行捐赠。非常感谢您的捐款,谢谢! - -![Alipay.png](https://s2.loli.net/2022/06/04/6LpfinSa5FoZmNB.png)![WeChat.png](https://s2.loli.net/2022/06/04/2yotOSvwmahPdXU.png) ## 开发 diff --git a/src/DownKyi/Models/AppInfo.cs b/src/DownKyi/Models/AppInfo.cs index 22c0c6d..83c020d 100644 --- a/src/DownKyi/Models/AppInfo.cs +++ b/src/DownKyi/Models/AppInfo.cs @@ -6,9 +6,9 @@ public int VersionCode { get; } = 510; #if DEBUG - public string VersionName { get; } = "1.5.3 Debug"; + public string VersionName { get; } = "1.5.4 Beta"; #else - public string VersionName { get; } = "1.5.3"; + public string VersionName { get; } = "1.5.4"; #endif } diff --git a/src/DownKyi/ViewModels/ViewIndexViewModel.cs b/src/DownKyi/ViewModels/ViewIndexViewModel.cs index ee1fbc8..9eaeb10 100644 --- a/src/DownKyi/ViewModels/ViewIndexViewModel.cs +++ b/src/DownKyi/ViewModels/ViewIndexViewModel.cs @@ -12,6 +12,7 @@ using Prism.Regions; using Prism.Services.Dialogs; using System; using System.IO; +using System.Text.RegularExpressions; using System.Threading.Tasks; using System.Windows; using System.Windows.Media.Imaging; @@ -214,7 +215,7 @@ namespace DownKyi.ViewModels } LogManager.Debug(Tag, $"InputText: {InputText}"); - + InputText = Regex.Replace(InputText, @"[【]*[^【]*[^】]*[】 ]", ""); SearchService searchService = new SearchService(); bool isSupport = searchService.BiliInput(InputText, Tag, eventAggregator); if (!isSupport) diff --git a/src/DownKyi/ViewModels/ViewVideoDetailViewModel.cs b/src/DownKyi/ViewModels/ViewVideoDetailViewModel.cs index 1ed6c46..b5c170f 100644 --- a/src/DownKyi/ViewModels/ViewVideoDetailViewModel.cs +++ b/src/DownKyi/ViewModels/ViewVideoDetailViewModel.cs @@ -18,6 +18,7 @@ using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; +using System.Text.RegularExpressions; using System.Threading.Tasks; using System.Windows; @@ -184,7 +185,7 @@ namespace DownKyi.ViewModels if (InputText == null || InputText == string.Empty) { return; } LogManager.Debug(Tag, $"InputText: {InputText}"); - + InputText = Regex.Replace(InputText, @"[【]*[^【]*[^】]*[】 ]", ""); input = InputText; // 更新页面