HMCL-dev / HMCL-dev/HMCL

[Bug] 自动更新整合包在获取自动更新时会从远程服务器寻找不存在的文件

Open
#5,654 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Java
Stars
10.1k
Forks
934
Avg merge
1d 5h
Merged PRs (30d)
82

Description

问题描述 | Bug Description

前置条件:使用gitea当作静态文件服务器。项目地址:https://ddns.myredstone.top:4108/WuffChen/Redcraft.Dragon.V3.Push/src/branch/main
当整合包启动时,从服务器获取文件步骤,会出现报错。见下图:

Image

可能是之前中文文件有问题,但问题是这些文件已经从gitea中被更新删除了,但启动器依然在寻找不存在的目录里的不存在文件,即便本地与远程的server-mainfest.json中早已经不包含这个不存在文件的内容。

神奇的是,这个问题似乎会在gitea上推送更新后半天左右消失。像是有什么缓存一样。

启动器崩溃报告 / 启动器日志文件 | Launcher Crash Report / Launcher Log File

2026-02-25T23-11-51.log

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the attached launcher log, the startup file-fetching step, and the remote and local server-mainfest.json files. Compare the files requested by the launcher with the current manifest after deleted files are removed from Gitea; done means startup no longer requests nonexistent remote paths.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.