Skip to content

fix: 本地安装整合包报错#5613

Merged
Glavo merged 2 commits intoHMCL-dev:mainfrom
CiiLu:modpackk
Feb 23, 2026
Merged

fix: 本地安装整合包报错#5613
Glavo merged 2 commits intoHMCL-dev:mainfrom
CiiLu:modpackk

Conversation

@CiiLu
Copy link
Copy Markdown
Contributor

@CiiLu CiiLu commented Feb 22, 2026

No description provided.

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 pull request fixes a local modpack installation error by refactoring how the hasSource flag is computed and stored in the ModpackInstallWizardProvider class.

Changes:

  • Added hasSource as an instance field to cache whether a modpack source is available
  • Moved the computation of hasSource from the createPage() method to the start() method for better consistency and to fix an inconsistency in the original code

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

@Glavo Glavo merged commit 0b70dc6 into HMCL-dev:main Feb 23, 2026
6 checks passed
@CiiLu CiiLu deleted the modpackk branch February 26, 2026 10:15
Glavo pushed a commit to Glavo/HMCL that referenced this pull request Mar 29, 2026
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.

3 participants