Skip to content

Conversation

@sciwhiz12
Copy link
Member

This PR fixes #48 by teaching FatInstallerAction to skip copying JAR entries which begin with maven/. The Downloader instance will pick artifacts from that directory through LocalSource#fromResource().

This has two side-effects:

  • Any artifacts in the original installer's maven/ that are unused (not declared in the manifests for vanilla and NeoForge) will get skipped over.
  • If the artifact under maven/ has a different checksum from the one declared in the manifests (if there is one), the downloader will reject that stored artifact and download it anew.

The Downloader instance will pick artifacts from that directory through
LocalSource#fromResource().

Fixes #48
@sciwhiz12 sciwhiz12 added the enhancement New feature or request label Oct 20, 2025
@neoforged-automation neoforged-automation bot added the bug Something isn't working label Oct 20, 2025
@sciwhiz12 sciwhiz12 requested a review from shartte October 20, 2025 19:06
@neoforged-pr-publishing
Copy link

  • Publish PR to GitHub Packages

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Offline Installer Creation Fails if JAR has embedded Maven Jars

1 participant