Skip to content

[release/3.6] 添加“提前预览 HMCL 版本”选项#4668

Merged
Glavo merged 3 commits intoHMCL-dev:release/3.6from
Glavo:backport/3.6/preview
Oct 13, 2025
Merged

[release/3.6] 添加“提前预览 HMCL 版本”选项#4668
Glavo merged 3 commits intoHMCL-dev:release/3.6from
Glavo:backport/3.6/preview

Conversation

@Glavo
Copy link
Copy Markdown
Member

@Glavo Glavo commented Oct 13, 2025

@Glavo Glavo added the backport label Oct 13, 2025
@Glavo Glavo requested a review from Copilot October 13, 2025 07:33
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 adds a new "Preview HMCL releases early" option to the settings that allows users to receive pre-release versions of HMCL for testing before their official release. The implementation includes UI changes, configuration updates, and modifications to the update checking mechanism.

  • Adds a new toggle button in settings to enable/disable preview updates
  • Modifies the update checker to support preview versions by appending "-preview" to the channel name
  • Updates the upgrade dialog to handle preview-specific changelog sections
  • Adds localization strings for the new feature in multiple languages

Reviewed Changes

Copilot reviewed 10 out of 10 changed files in this pull request and generated no comments.

Show a summary per file
File Description
I18N*.properties Adds localization strings for the preview update feature in English, Spanish, and Chinese variants
UpdateChecker.java Modifies update checking logic to support preview versions and pass preview flag through the system
RemoteVersion.java Adds preview field to track whether a version is a preview release
SettingsView.java Adds the preview toggle button UI component to the settings panel
SettingsPage.java Binds the preview toggle to update checking logic with proper event handling
UpgradeDialog.java Updates changelog handling to show preview-specific content when available
Config.java Adds configuration property to persist the preview update preference

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@Glavo Glavo merged commit f03a4ff into HMCL-dev:release/3.6 Oct 13, 2025
3 checks passed
@Glavo Glavo deleted the backport/3.6/preview branch October 13, 2025 07:38
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.

3 participants