Skip to content

[Enhancement] 支持持久化自定义实例图标 reforged - #6407

Open
ToobLac wants to merge 21 commits into
HMCL-dev:mainfrom
ToobLac:icon-save-new
Open

[Enhancement] 支持持久化自定义实例图标 reforged#6407
ToobLac wants to merge 21 commits into
HMCL-dev:mainfrom
ToobLac:icon-save-new

Conversation

@ToobLac

@ToobLac ToobLac commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

Closes #5485 Fixes #6178

目前暂定保存在当前启动器实例的 .hmcl/instance_icons 文件夹中

没有保存在各个实例的 .hmcl 文件夹中的原因是我希望这个图标通用性可以更强

@ToobLac
ToobLac marked this pull request as ready for review July 14, 2026 14:49
@ToobLac
ToobLac marked this pull request as draft July 14, 2026 14:51
@ToobLac
ToobLac marked this pull request as ready for review July 16, 2026 04:19
@github-actions github-actions Bot added the 500+ label Jul 17, 2026
ToobLac added 7 commits July 25, 2026 21:29
# Conflicts:
#	HMCL/src/main/java/org/jackhuang/hmcl/ui/versions/VersionIconDialog.java
# Conflicts:
#	HMCL/src/main/java/org/jackhuang/hmcl/game/HMCLGameRepository.java
#	HMCL/src/main/java/org/jackhuang/hmcl/setting/LegacyGameSettingsMigrator.java
#	HMCL/src/main/java/org/jackhuang/hmcl/ui/download/VersionsPage.java
#	HMCL/src/main/java/org/jackhuang/hmcl/ui/game/GameSettingsPage.java
#	HMCL/src/main/java/org/jackhuang/hmcl/ui/instances/GameAdvancedListItem.java
#	HMCL/src/main/java/org/jackhuang/hmcl/ui/instances/GameInstanceIconDialog.java
#	HMCL/src/main/java/org/jackhuang/hmcl/ui/instances/InstanceIconDialog.java
@github-actions github-actions Bot added 100+ and removed 500+ labels Jul 29, 2026
ToobLac added 4 commits August 2, 2026 10:42
# Conflicts:
#	HMCL/src/main/java/org/jackhuang/hmcl/game/HMCLGameRepository.java
#	HMCL/src/main/java/org/jackhuang/hmcl/ui/instances/GameInstanceIconDialog.java

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🤖 Static analysis found the following issues (max count 10):

Comment thread HMCL/src/main/java/org/jackhuang/hmcl/game/HMCLGameRepository.java Outdated
Comment thread HMCL/src/main/java/org/jackhuang/hmcl/game/HMCLGameRepository.java Outdated
Comment thread HMCL/src/main/java/org/jackhuang/hmcl/game/HMCLGameRepository.java Outdated
@hmr-BH

hmr-BH commented Sep 12, 2026

Copy link
Copy Markdown

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 0fe367e8c2

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread HMCL/src/main/java/org/jackhuang/hmcl/ui/instances/GameInstanceIconDialog.java Outdated
# Conflicts:
#	HMCL/src/main/java/org/jackhuang/hmcl/ui/instances/GameInstanceIconDialog.java
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.

[Bug] 添加游戏图标功能, 选择icon.webp会导致文件丢失 [Feature] 永久保存设置的实例图标至预设

2 participants