Skip to content

优化游戏实例默认图标#4776

Merged
Glavo merged 1 commit intoHMCL-dev:mainfrom
Glavo:instance-icon
Nov 13, 2025
Merged

优化游戏实例默认图标#4776
Glavo merged 1 commit intoHMCL-dev:mainfrom
Glavo:instance-icon

Conversation

@Glavo
Copy link
Copy Markdown
Member

@Glavo Glavo commented Nov 10, 2025

No description provided.

Copilot AI review requested due to automatic review settings November 10, 2025 08:39
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR enhances the version icon selection logic by introducing game version-based icons and reorganizing mod loader priority. The changes improve icon representation for vanilla versions by distinguishing between April Fools editions, snapshots, and old (pre-release/alpha/beta) versions, while also refining the mod loader detection order.

Key Changes

  • Reordered mod loader checks to prioritize Quilt and NeoForge before Forge
  • Added game version type detection to assign appropriate icons (April Fools, Snapshot, Old versions)
  • Changed fallback behavior for vanilla versions from generic DEFAULT/FURNACE to version-type-specific icons

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@Glavo Glavo merged commit 47ccda0 into HMCL-dev:main Nov 13, 2025
8 checks passed
@Glavo Glavo deleted the instance-icon branch November 13, 2025 07:40
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.

2 participants