mirror of
https://github.com/revanced/Apktool.git
synced 2025-01-23 02:07:36 +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);
|
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.");
|
throw new AndrolibException("--frame-path is set to a file, not a directory.");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user