Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

添加 unlisted-versions-of-minecraft #3247

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

zkitefly
Copy link
Member

@zkitefly zkitefly commented Aug 19, 2024

_org.jackhuang.hmcl.Launcher_20240820015116.mp4
_org.jackhuang.hmcl.Launcher_20240820015917.mp4

https://github.com/zkitefly/unlisted-versions-of-minecraft

Close #2481

@@ -77,7 +77,8 @@ public BMCLAPIDownloadProvider(String apiRoot) {
pair("https://meta.fabricmc.net", apiRoot + "/fabric-meta"),
pair("https://maven.fabricmc.net", apiRoot + "/maven"),
pair("https://authlib-injector.yushi.moe", apiRoot + "/mirrors/authlib-injector"),
pair("https://repo1.maven.org/maven2", "https://mirrors.cloud.tencent.com/nexus/repository/maven-public")
pair("https://repo1.maven.org/maven2", "https://mirrors.cloud.tencent.com/nexus/repository/maven-public"),
pair("https://zkitefly.github.io/unlisted-versions-of-minecraft", "https://vip.123pan.cn/1821946486/unlisted-versions-of-minecraft")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

WTF 这俩镜像太地狱了

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

应该够用的,不行就去掉得了(

等下做一个 version_manifest 构建时拉取

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

你可以在这里将镜像更改为 hmcl://assets/unlisted-version-of-mc,并在 HttpRequest 中添加对 hmcl schema 的实现

@@ -127,6 +127,7 @@ public enum Type {
UNCATEGORIZED,
RELEASE,
SNAPSHOT,
OLD
OLD,
PENDING
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

使用 PENDING 类型的意义是什么?在其他地方代码和 SNAPSHOT 类型似乎完全是一致的?还是只是我没发现

Copy link
Member Author

@zkitefly zkitefly Jan 27, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

我的意思是,你同时在 ReleaseType 和 RemoteVersion.Type 中声明了新的类型 PENDING,但这一类型和 SNAPSHOT 类型完全一致。这么做的意义是什么?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[建议]增加Combat Test游戏版本安装以及更详细的游戏分类
2 participants