-
Notifications
You must be signed in to change notification settings - Fork 687
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
Enhance mod download #2411
Merged
huanghongxun
merged 97 commits into
HMCL-dev:javafx
from
burningtnt:support2376/enhance-mod-download
Dec 31, 2023
Merged
Enhance mod download #2411
huanghongxun
merged 97 commits into
HMCL-dev:javafx
from
burningtnt:support2376/enhance-mod-download
Dec 31, 2023
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Closed
burningtnt
changed the title
Support #2376
Support #2376+1549+1260 Enhance mod download
Jul 29, 2023
burningtnt
changed the title
Support #2376+1549+1260 Enhance mod download
Enhance mod download
Jul 29, 2023
This comment was marked as outdated.
This comment was marked as outdated.
Closed
Closed
# Conflicts: # HMCL/src/main/java/org/jackhuang/hmcl/ui/CrashWindow.java # README.md # README_cn.md
# Conflicts: # HMCL/build.gradle.kts
This reverts commit 0a49eb2.
…angyuhui.net and the download speed in China Mainland.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Close #2376 Close #2377 Close #1549 Close #1260 Close #2392 Close #2437 Close #2319 Close #2443
Close #2322 Close #1257 Close #2467 Close #1773 Close #2543
Fix #2104 Fix #2498 Fix #2560
Feature 列表
模组/整合包/资源包下载界面
模组/整合包/资源包下载详情界面
本来是想让左侧的 TwoLineListItem 能够滚动显示被折叠的文字的,但由于 Java 8 上的 JavaFX 一直有相关 Bug,没法解决,就 不做修改了,如果 Glavo 你愿意搞一搞,那也 OK
模组/整合包/资源包文件详情界面
整合包安装界面
本地模组列表界面
技术更新
为了网络连接不稳定的用户考虑,HMCL 依然会正常的内置一份 mod_data.txt 与 modpack_data.txt。并且,下载的资源会保存到 HMCL 的全局文件夹中,不会直接修改 HMCL 内置的文件,fallback 路线为:远程 -> HMCL 全局文件夹 -> 内置文件。这一功能可以将 mod_data.txt 和 modpack_data.txt 独立于 HMCL 的版本系统,方便更新。
目前更新源为一个独立的 Dynamic Remote Resources 系统,更新 url 为 https://hmcl.huangyuhui.net/api/dynamic_remote_resource/update_link。
黄鱼能否做一个条件 302,如果请求头里有 Accept-Language 包含 zh-CN 就重定向到 Zkitefly 的 GitHub 代理,否则直接重定向到 https://github.com/huanghongxun/HMCL/raw/javafx/data-json/dynamic-remote-resources.json