diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1d018460..a7965a6a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -41,8 +41,8 @@ jobs: - name: Update Help run: | Set-Location .. - git clone https://github.com/LTCatt/PCL2Help.git -b master --single-branch --depth 1 - Set-Location PCL2Help + git clone https://github.com/PCL-Community/PCL2CEHelp.git -b master --single-branch --depth 1 + Set-Location PCL2CEHelp Remove-Item -Path *.* -Recurse -Force Compress-Archive -Path .\* -DestinationPath .\Help.zip Copy-Item -Path .\Help.zip -Destination "..\PCL2-CE\Plain Craft Launcher 2\Resources\Help.zip" -Force diff --git a/Plain Craft Launcher 2/Pages/PageOther/PageOtherHelp.xaml.vb b/Plain Craft Launcher 2/Pages/PageOther/PageOtherHelp.xaml.vb index 95b1eeaa..5520b59b 100644 --- a/Plain Craft Launcher 2/Pages/PageOther/PageOtherHelp.xaml.vb +++ b/Plain Craft Launcher 2/Pages/PageOther/PageOtherHelp.xaml.vb @@ -27,8 +27,6 @@ '获取全部分类 Dim Types As New List(Of String) For Each Item As HelpEntry In HelpItems - If Val(VersionBranchCode) = 50 AndAlso Not Item.ShowInPublic Then Continue For - If Val(VersionBranchCode) <> 50 AndAlso Not Item.ShowInSnapshot Then Continue For For Each Type In Item.Types If Not Types.Contains(Type) Then Types.Add(Type) Next @@ -43,8 +41,6 @@ '确认所属该分类的项目 Dim TypeItems As New List(Of HelpEntry) For Each Item In HelpItems - If Val(VersionBranchCode) = 50 AndAlso Not Item.ShowInPublic Then Continue For - If Val(VersionBranchCode) <> 50 AndAlso Not Item.ShowInSnapshot Then Continue For If Item.Types.Contains(Type) Then TypeItems.Add(Item) Next '增加卡片 diff --git a/Plain Craft Launcher 2/Resources/Help.zip b/Plain Craft Launcher 2/Resources/Help.zip index c36f2882..93f43bfd 100644 Binary files a/Plain Craft Launcher 2/Resources/Help.zip and b/Plain Craft Launcher 2/Resources/Help.zip differ diff --git a/README.md b/README.md index bb8624c3..21f48b26 100644 --- a/README.md +++ b/README.md @@ -19,4 +19,4 @@ ### 相关资源 - [PCL 社区版下载](https://github.com/PCL-Community/PCL2-CE/releases):下载来自本存储库的 PCL2 社区版! - [PCL 官方存储库](https://github.com/Hex-Dragon/PCL2):PCL 的官方开源代码存储库 -- [帮助文档库](https://github.com/LTCatt/PCL2Help):PCL 内置帮助文档的存储库 +- [帮助文档库](https://github.com/PCL-Community/PCL2CEHelp):PCL 社区版内置帮助文档的存储库