重构 GameRepository - #6580
Draft
Glavo wants to merge 114 commits into
Draft
Conversation
…ructure management
Glavo
marked this pull request as draft
August 2, 2026 12:51
…y layout defaults Assisted-by: grok-build:grok-4.5
…ilizing status for manifest resolution
…reation in HMCLGameRepository
…nced settings management
…aultGameRepositoryLayout to abstract classes for improved extensibility
…ed settings handling
Assisted-by: grok-build:grok-4.5
…tatus Assisted-by: grok-build:grok-4.5
Assisted-by: grok-build:grok-4.5
Assisted-by: grok-build:grok-4.5
Assisted-by: grok-build:grok-4.5
…or clarity and consistency
…anagers across snapshots
…Optional for improved clarity and consistency
…improved clarity and consistency
…oved consistency and clarity
…d improve error handling
…pack installation
…remove unused refresh count
…e game version handling
…rsion for clarity
…rsion for clarity
…ame component analysis
…GameComponentAnalyzer for consistency
…nentAnalyzer for improved consistency
…onentAnalyzer for improved mod support
…or improved component handling
…tType for improved patch handling
…or improved consistency
…eComponentType for improved type handling
…MultiMCModpackExportTask, NeoForgeInstallTask, NeoForgeOldInstallTask, OptiFineInstallTask): replace LibraryAnalyzer with GameComponentType for improved consistency and type handling
…braryAnalyzer with GameComponentAnalyzer for improved type handling
…nentAnalyzer for improved mod component handling
…ackManifest, ModrinthModpackExportTask): replace LibraryAnalyzer with GameComponentAnalyzer for improved component handling
…nchManifestPreparation, LegacyFabricInstallTask, QuiltInstallTask): replace LibraryAnalyzer with GameComponentType for improved patch handling
…xportTask): replace LibraryAnalyzer with GameComponentAnalyzer for improved component analysis
…nstallerListPage, JavaManager, UpdateInstallerWizardProvider): replace LibraryAnalyzer with GameComponentAnalyzer for improved library and component handling
…RemoteVersion, JavaManager, LegacyFabricAPIRemoteVersion, LegacyFabricRemoteVersion, LiteLoaderRemoteVersion, NeoForgeRemoteVersion, OptiFineInstallTask, OptiFineRemoteVersion, QuiltAPIRemoteVersion, QuiltRemoteVersion): remove LibraryAnalyzer for improved component handling
…lersPage, ServerModpackManifest): replace libraryId with componentType.getPatchId for improved consistency in library handling
…ePatch, HMCLGameInstance, HMCLGameRepository, NativePatcher): clean up code and improve readability by removing unnecessary lines and adjusting comments
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
当前
GameRepository的职责很混乱,存在大量线程安全性问题。本 PR 尝试重构GameRepository,解决它所存在的问题。