Compare commits

..
12 Commits
5 changed files with 53 additions and 4 deletions

No files matched your search

+6
View File
@@ -0,0 +1,6 @@
{
"__author__": "风释清然SC",
"Title": "更新 Mod",
"Description": "更新已安装的 Minecraft Mod(模组)",
"Types": ["Minecraft"]
}
+43
View File
@@ -0,0 +1,43 @@
<!--图片备份:https://github.com/WForst-Breeze/Files/tree/main/PCL2/H_img_updatemods-->
<local:MyHint Margin="0,0,0,15" Text="请在依照本文操作前仔细阅读注意事项和 PCL 警告弹窗,以避免游戏崩溃或存档损坏!" IsWarn="True" />
<local:MyCard Title="注意事项" Margin="0,0,0,15">
<StackPanel Margin="25,40,23,15">
<TextBlock TextWrapping="Wrap" Margin="0,0,0,4" LineHeight="17"
Text="PCL 支持将已安装的旧版本 Mod 升级至最新版本。新版本 Mod 可能不兼容老版本的存档或者其他 Mod,这可能导致游戏崩溃,甚至存档损坏!"/>
<TextBlock TextWrapping="Wrap" Margin="0,0,0,4" LineHeight="17"
Text="除非整合包作者要求你更新,否则不要私自更新整合包里的 Mod!"/>
<TextBlock TextWrapping="Wrap" Margin="0,0,0,4" LineHeight="17"
Text="在更新 Mod 前,请先备份存档,并检查它的更新日志!"/>
<TextBlock TextWrapping="Wrap" Margin="0,0,0,4" LineHeight="17"
Text="更新时,老版本的 Mod 会被移动到回收站,以防万一。如若您希望回退至更新前的旧版本 Mod,可以在回收站中恢复。"/>
<TextBlock TextWrapping="Wrap" Margin="0,0,0,4" LineHeight="17"
Text="最后,请仔细阅读 PCL 的警告弹窗,在确认无误后再进行操作!"/>
</StackPanel>
</local:MyCard>
<local:MyCard Title="选择 Mod 并更新" Margin="0,0,0,15" CanSwap="True" IsSwaped="True">
<StackPanel Margin="25,40,23,15">
<Grid>
<TextBlock TextWrapping="Wrap" Margin="0,15,0,4" Width="200"
Text="1. 在 PCL 的 “启动” 页面中选择你想进行更新的游戏版本,点击 “版本设置”。" HorizontalAlignment="Left" />
<Image Margin="250,0,0,0" HorizontalAlignment="Center" Source="https://img.z0z0r4.top/local/2024/04/14/661bd55122615.png" />
</Grid>
<local:MyHint Margin="0,20,0,0" Text="第一次进入 Mod 管理页面时可能需要等待一段时间。如若没有箭头,则可能是您无法连接到 CurseForge 或 Modrinth,请尝试使用加速器或 VPN。" IsWarn="False" />
<Grid Margin="0,10,0,0">
<TextBlock TextWrapping="Wrap" Margin="0,15,0,4" Width="200"
Text="2. 点击 “Mod 管理”。此时列表中名称最右侧带有向上的箭头的 Mod 即为可更新的 Mod。" HorizontalAlignment="Left" />
<Image Margin="250,0,0,0" HorizontalAlignment="Center" Source="https://img.z0z0r4.top/local/2024/04/14/661bd5c6bf794.png" />
</Grid>
<Grid Margin="0,20,0,4">
<TextBlock TextWrapping="Wrap" Margin="0,15,0,4" Width="200"
Text="3. 选择您想要更新的 Mod 后,点击下方的 “更新” 按钮,即可开始更新。" HorizontalAlignment="Left" />
<Image Margin="250,0,0,0" HorizontalAlignment="Center" Source="https://img.z0z0r4.top/local/2024/04/14/661bd6755fdb3.png" />
</Grid>
</StackPanel>
</local:MyCard>
<local:MyHint Margin="0,0,0,15" Text="作者:风释清然SC" IsWarn="False" />
+1 -1
View File
@@ -4,7 +4,7 @@
<StackPanel Margin="25,40,23,15">
<TextBlock Margin="0,0,0,4" LineHeight="17"
Text="在开始前,请先根据下文中的 “第 1 部分:安装和身份验证” 完成对 GitHub Desktop 的安装与登录。"/>
<local:MyListItem Margin="0,2,0,10" Logo="pack://application:,,,/images/Blocks/CommandBlock.png" SnapsToDevicePixels="True" Type="Clickable" PaddingRight="4"
<local:MyListItem Margin="0,2,0,10" Logo="pack://application:,,,/images/Blocks/CommandBlock.png" SnapsToDevicePixels="True" Type="Clickable"
Title="GitHub Desktop 使用入门" Info="GitHub 的官方教程文档页,根据其中的内容完成安装与登录即可" EventType="打开网页" EventData="https://docs.github.com/cn/desktop/installing-and-configuring-github-desktop/getting-started-with-github-desktop#part-1-installing-and-authenticating" />
<TextBlock Margin="0,10,0,4" LineHeight="17"
Text="点击下方按钮,进入 PCL 文件夹,创建名称为 Help 的文件夹。"/>
+1 -1
View File
@@ -47,7 +47,7 @@
<TextBlock Margin="0,10,0,4" LineHeight="17"
Text="最后,点击左边栏 → 源代码管理 → 打开文件夹,选择 Help 文件夹即可。"/>
<TextBlock Margin="0,0,0,4" LineHeight="17"
Text="在获取帮助库后,你就可以按照正常自定义帮助的方式对帮助库进行修改了。修改完成后,点击左侧的第三个按钮 &quot;源代码管理&quot; 或按下键盘上的 Ctrl 键 + Shit 键 + G 键,在上方输入你的修改内容,然后点击 &quot;提交&quot; 旁边的小三角,再点击 &quot;提交和推送&quot; ,你的更新就被推送到你的 Fork 仓库了。"/>
Text="在获取帮助库后,你就可以按照正常自定义帮助的方式对帮助库进行修改了。修改完成后,点击左侧的第三个按钮 &quot;源代码管理&quot; 或按下键盘上的 Ctrl 键 + Shift 键 + G 键,在上方输入你的修改内容,然后点击 &quot;提交&quot; 旁边的小三角,再点击 &quot;提交和推送&quot; ,你的更新就被推送到你的 Fork 仓库了。"/>
<Image HorizontalAlignment="Center" Source="https://img.z0z0r4.top/local/2023/09/14/6503004c2096f.png" />
<TextBlock Margin="0,0,0,4" LineHeight="17"
Text="在 Pull Request 前,你需要同步原仓库内的内容以保证你的仓库保持最新。打开你的 Fork 仓库主页,找到 &quot;Sync fork&quot; 按钮并点击,再点击 &quot;Update branch&quot;,你的仓库就同步了原仓库。经过了这些步骤之后,你就可以提交你的 Pull Request 了。"/>
+2 -2
View File
@@ -143,9 +143,9 @@
EventType="打开帮助" EventData="百科/Minecraft Wiki.json" />
<Grid Margin="7,6,0,0">
<TextBlock Margin="0,0,0,4" LineHeight="17"
Text='{}{&#xa; "__Author__": "NotKiller233、龙腾猫跃",&#xa; "Title": "Minecraft Wiki",&#xa; "Description": "包含原版游戏过程中所需大多数知识的中文百科",&#xa; "Keywords": "我的世界wikipedia",&#xa; "Types": ["百科"],&#xa; "IsEvent": true,&#xa; "EventType": "打开网页",&#xa; "EventData": "https://minecraft.fandom.com/zh/"&#xa;}' />
Text='{}{&#xa; "__Author__": "NotKiller233、龙腾猫跃",&#xa; "Title": "Minecraft Wiki",&#xa; "Description": "包含原版游戏过程中所需大多数知识的中文百科",&#xa; "Keywords": "我的世界wikipedia",&#xa; "Types": ["百科"],&#xa; "IsEvent": true,&#xa; "EventType": "打开网页",&#xa; "EventData": "https://zh.minecraft.wiki/"&#xa;}' />
<local:MyButton Width="80" Height="35" HorizontalAlignment="Right" VerticalAlignment="Bottom" Padding="13,0,13,0" Margin="0,0,0,8"
Text="复制" EventType="复制文本" EventData='{}{&#xa; "__Author__": "NotKiller233、龙腾猫跃",&#xa; "Title": "Minecraft Wiki",&#xa; "Description": "包含原版游戏过程中所需大多数知识的中文百科",&#xa; "Keywords": "我的世界wikipedia",&#xa; "Types": ["百科"],&#xa; "IsEvent": true,&#xa; "EventType": "打开网页",&#xa; "EventData": "https://minecraft.fandom.com/zh/"&#xa;}' />
Text="复制" EventType="复制文本" EventData='{}{&#xa; "__Author__": "NotKiller233、龙腾猫跃",&#xa; "Title": "Minecraft Wiki",&#xa; "Description": "包含原版游戏过程中所需大多数知识的中文百科",&#xa; "Keywords": "我的世界wikipedia",&#xa; "Types": ["百科"],&#xa; "IsEvent": true,&#xa; "EventType": "打开网页",&#xa; "EventData": "https://zh.minecraft.wiki/"&#xa;}' />
</Grid>
</StackPanel>
</local:MyCard>