Skip to content

Comments

fix: handle arbitrary resources#4066

Closed
PeterKnecht93 wants to merge 1 commit intoiBotPeaches:mainfrom
PeterKnecht93:fix-arbitrary-res
Closed

fix: handle arbitrary resources#4066
PeterKnecht93 wants to merge 1 commit intoiBotPeaches:mainfrom
PeterKnecht93:fix-arbitrary-res

Conversation

@PeterKnecht93
Copy link

Fixes: #3615

This fixes resources not being handled if a resource table could not be found, as is currently the case for framework.jar files.

The issue is caused by decodeResources (rightfully) skipping decoding if no resources.arsc was found, but as copyUnknownFiles ignores resources expecting they would be handled by this method, they ultimately just end up being left out. Therefore, this patch adds an extra check in copyUnknownFiles to copy resources as-is if no resource table was found.

Signed-off-by: Louis Poier <lpoier7@proton.me>
@IgorEisberg
Copy link
Collaborator

I'm already working on a better way to abstract this issue, PR will be ready soon.

@IgorEisberg
Copy link
Collaborator

Fixed by #4067

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.

[BUG] Ignores res folder of framework.jar

2 participants