Skip to content

feat: 在主页固定游戏实例 - #4046

Open
ZhuRuoLing wants to merge 7 commits into
HMCL-dev:mainfrom
ZhuRuoLing:main
Open

feat: 在主页固定游戏实例#4046
ZhuRuoLing wants to merge 7 commits into
HMCL-dev:mainfrom
ZhuRuoLing:main

Conversation

@ZhuRuoLing

Copy link
Copy Markdown

Close #4045

在版本管理页面使用固定实例按钮将实例固定到主页

image

在主页双击实例启动游戏 按住shift键双击测试实例

image

@zkitefly

Copy link
Copy Markdown
Member

看起来很酷(òωó)👍

@CiiLu

CiiLu commented Jul 4, 2025

Copy link
Copy Markdown
Contributor

PixPin_2025-07-04_23-22-10
固定版本太多布局会乱

Comment thread HMCL/src/main/java/org/jackhuang/hmcl/ui/versions/VersionPage.java Outdated
Comment thread HMCL/src/main/java/org/jackhuang/hmcl/ui/versions/VersionPage.java Outdated
Comment thread HMCL/src/main/java/org/jackhuang/hmcl/ui/main/MainPage.java Outdated
Comment thread HMCL/src/main/java/org/jackhuang/hmcl/ui/main/MainPage.java Outdated
Comment thread HMCL/src/main/java/org/jackhuang/hmcl/ui/main/MainPage.java
Bindings.bindContent(menu.getContent(), versionNodes);
}

private Node createQuickLaunch(String versionName) {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

如果在外部删除版本会导致启动器崩溃org.jackhuang.hmcl.game.VersionNotFoundException

@Glavo

Glavo commented Aug 4, 2025

Copy link
Copy Markdown
Member

我们有计划对主页进行重构更新,允许用户更自由地自定义主页。本 PR 会推迟到对主页进行重构后再审查。

Comment thread HMCL/src/main/resources/assets/lang/I18N_zh_CN.properties Outdated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature] 在主页固定游戏版本

5 participants