Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Only open JAR files if the provided input is a directory #101

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

TheGlitch76
Copy link
Contributor

This PR removes some surprising behavior involving scanning JARs.

Previously, when presented with a JAR file, Tiny Remapper would open all of its nested JAR files and treat every file as an input. However, it would not re-construct the file structure. Instead, in the output it would flatten all nested JARs into the top jar, and create conflicts if the user had also added the nested JAR as an input.

This PR reverts that behavior, and makes Tiny Remapper ignore nested JARs.

@sfPlayer1
Copy link
Collaborator

The behavior definitely need to change, not sure how exactly yet though. It'd theoretically be possible to (optionally) handle nested jars through sub-input-tags.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants