Skip to content

Commit f451086

Browse files
committed
up
1 parent f62879b commit f451086

4 files changed

Lines changed: 10 additions & 4 deletions

File tree

log.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,11 @@
1111
- 压缩包子文件夹识别
1212

1313
## 已知问题 Known issue
14+
- 下载错误会崩溃
15+
- 添加资源模组分类错误
16+
- 添加快捷方式会崩溃
17+
- 添加资源版本读取错误
18+
- 添加资源截图样式错误
1419

1520
## 已完成 Done
1621
### 2026.3.11

src/ColorMC.Core/Net/Apis/CurseForgeAPI.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,6 @@ public static async Task<List<CurseForgeModObj.CurseForgeDataObj>?>
337337
{
338338
mc ??= "";
339339
string temp = $"{UrlHelper.CurseForge}mods/{id}/files?index={page * 50}&pageSize=50&gameVersion={mc}";
340-
341340
try
342341
{
343342
if (loader is not (Loaders.Normal or Loaders.Custom))

src/ColorMC.Gui/Resource/Language/zh-cn.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -771,8 +771,8 @@
771771
"AddModPackWindow.Text20": "正在加载版本数据中",
772772
"AddModPackWindow.Text21": "是否切换到下一个下载源",
773773
"AddModPackWindow.Text22": "你还没有选择整合包",
774-
"AddModPackWindow.Text23": "整合包数据加载失败",
775-
"AddModPackWindow.Text24": "整合包版本数据加载失败",
774+
"AddModPackWindow.Text23": "数据加载失败",
775+
"AddModPackWindow.Text24": "版本数据加载失败",
776776
"AddModPackWindow.Text25": "游戏版本加载失败,是否重新加载",
777777
"AddModPackWindow.Text26": "获取图片失败",
778778
"AddModPackWindow.Text27": "请输入足够的搜索信息",

src/ColorMC.Gui/UI/Model/Add/AddFileInfoControlModel.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,8 @@ public partial class AddBaseModel : IAddFileControl
7575
[ObservableProperty]
7676
private bool _haveLastVersionPage;
7777

78+
protected Loaders GameLoader = Loaders.Normal;
79+
7880
partial void OnSelectIndexChanged(int value)
7981
{
8082
if (_load)
@@ -199,7 +201,7 @@ public async void LoadVersion(SourceType type, string pid)
199201
page--;
200202
var res = await WebBinding.GetFileListAsync(type,
201203
pid, page,
202-
GameVersionDownload, Loaders.Normal);
204+
GameVersionDownload, GameLoader);
203205
MaxPageVersion = res.Count / 50;
204206
list = res.List;
205207
var title = res.Name;

0 commit comments

Comments
 (0)