mirror of
https://github.com/revanced/Apktool.git
synced 2025-01-05 17:45:52 +01:00
Merge pull request #1641 from iBotPeaches/issue-1639
Fix regression when --frame-path points to non existing directory
This commit is contained in:
commit
f7a872cf22
@ -790,7 +790,7 @@ final public class AndrolibResources {
|
||||
|
||||
File dir = new File(path);
|
||||
|
||||
if (!dir.isDirectory()) {
|
||||
if (!dir.isDirectory() && dir.isFile()) {
|
||||
throw new AndrolibException("--frame-path is set to a file, not a directory.");
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user