mirror of
https://github.com/revanced/Apktool.git
synced 2025-05-02 15:04:24 +02:00
Fix regression when --frame-path points to non existing directory
- fixes #1639
This commit is contained in:
parent
3ec4f360ab
commit
0271e55370
@ -790,7 +790,7 @@ final public class AndrolibResources {
|
||||
|
||||
File dir = new File(path);
|
||||
|
||||
if (!dir.isDirectory()) {
|
||||
if (!dir.isDirectory() && dir.isFile()) {
|
||||
LOGGER.severe("--frame-path is set to a file, not a directory.");
|
||||
System.exit(1);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user