mirror of
https://github.com/revanced/Apktool.git
synced 2024-12-12 13:57:46 +01:00
parent
3ec4f360ab
commit
41018a81b8
@ -791,13 +791,11 @@ final public class AndrolibResources {
|
||||
File dir = new File(path);
|
||||
|
||||
if (!dir.isDirectory()) {
|
||||
LOGGER.severe("--frame-path is set to a file, not a directory.");
|
||||
System.exit(1);
|
||||
throw new AndrolibException("--frame-path is set to a file, not a directory.");
|
||||
}
|
||||
|
||||
if (dir.getParentFile() != null && dir.getParentFile().isFile()) {
|
||||
LOGGER.severe("Please remove file at " + dir.getParentFile());
|
||||
System.exit(1);
|
||||
throw new AndrolibException("Please remove file at " + dir.getParentFile());
|
||||
}
|
||||
|
||||
if (! dir.exists()) {
|
||||
|
Loading…
Reference in New Issue
Block a user