mirror of
https://github.com/revanced/Apktool.git
synced 2025-06-12 13:17:43 +02:00
Fix regression when --frame-path points to non existing directory
- fixes #1639
This commit is contained in:
@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user