重构 GameRepository - #6580
Draft
Glavo wants to merge 146 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
…eItem, InstallerListPage, JavaManager, LauncherHelper): simplify GameComponentAnalyzer usage by leveraging existing game instance analyzers
…ComponentAnalyzer to optimize performance
…ion with instance method for improved modularity
…CLGameInstance and simplify GameComponentAnalyzer usage
…constructor to simplify instantiation
…e id() method for clarity
…prove logging message and optimize library serialization
… unused methods to clean up codebase
…ucturing conditional logic
…aths Assisted-by: grok-build:grok-4.5
…chManifestPreparation Assisted-by: grok-build:grok-4.5
…e for launchManifest and improve code clarity
…r game verification
…thod call for clarity
… removing unnecessary repository and manifest parameters
…r usage with instance method for clarity
…place GameComponentAnalyzer usage with direct method calls for clarity
…ntAnalyzer usage with direct method calls for clarity
…tem, InstallerListPage, InstallersPage): replace library references with component for consistency
… direct method calls for clarity
…emove unused imports and simplify classpath resolution
… component handling and simplify version checks
…ncherHelper Assisted-by: grok-build:grok-4.5
…ameInstanceTest): simplify library handling and improve launch manifest repairs
…GameDownloadTask, GameInstallTask, GameLibrariesTask, Instances, OptiFineInstallTask, QuiltInstallTask): streamline manifest resolution and improve main class handling
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,解决它所存在的问题。