Skip to content

Commit

Permalink
fix: New forge 1.21.1 version cannot be installed due to forge's wron…
Browse files Browse the repository at this point in the history
…g sha1
  • Loading branch information
ci010 committed Nov 28, 2024
1 parent ba8758b commit 984f343
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion xmcl
Submodule xmcl updated 1 files
+1 −1 packages/core/launch.ts
3 changes: 3 additions & 0 deletions xmcl-runtime/install/DiagnoseService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,9 @@ export class DiagnoseService extends AbstractService implements IDiagnoseService
let badInstall = false
const librariesIssues: LibraryIssue[] = []
for (const issue of report.issues) {
if (issue.role === 'processor' && issue.file.endsWith('mappings.tsrg')) {
continue
}
if (issue.role === 'processor') {
badInstall = true
} else if (issue.role === 'library') {
Expand Down

0 comments on commit 984f343

Please sign in to comment.