Skip to content

重构 GameRepository - #6580

Draft
Glavo wants to merge 114 commits into
HMCL-dev:mainfrom
Glavo:game-repo
Draft

重构 GameRepository#6580
Glavo wants to merge 114 commits into
HMCL-dev:mainfrom
Glavo:game-repo

Conversation

@Glavo

@Glavo Glavo commented Aug 2, 2026

Copy link
Copy Markdown
Member

当前 GameRepository 的职责很混乱,存在大量线程安全性问题。本 PR 尝试重构 GameRepository,解决它所存在的问题。

@Glavo
Glavo marked this pull request as draft August 2, 2026 12:51
@github-actions github-actions Bot added the 100+ label Aug 2, 2026
Glavo added 16 commits August 2, 2026 20:54
…y layout defaults

Assisted-by: grok-build:grok-4.5
…aultGameRepositoryLayout to abstract classes for improved extensibility
@github-actions github-actions Bot added 2000+ and removed 100+ labels Aug 3, 2026
Glavo added 30 commits August 6, 2026 20:54
…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
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.

1 participant