mirror of
https://github.com/revanced/Apktool.git
synced 2024-12-12 22:07:47 +01:00
Merge branch 'master' into issue-1639
This commit is contained in:
commit
c23c1303dd
@ -791,13 +791,11 @@ final public class AndrolibResources {
|
|||||||
File dir = new File(path);
|
File dir = new File(path);
|
||||||
|
|
||||||
if (!dir.isDirectory() && dir.isFile()) {
|
if (!dir.isDirectory() && dir.isFile()) {
|
||||||
LOGGER.severe("--frame-path is set to a file, not a directory.");
|
throw new AndrolibException("--frame-path is set to a file, not a directory.");
|
||||||
System.exit(1);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (dir.getParentFile() != null && dir.getParentFile().isFile()) {
|
if (dir.getParentFile() != null && dir.getParentFile().isFile()) {
|
||||||
LOGGER.severe("Please remove file at " + dir.getParentFile());
|
throw new AndrolibException("Please remove file at " + dir.getParentFile());
|
||||||
System.exit(1);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (! dir.exists()) {
|
if (! dir.exists()) {
|
||||||
|
Loading…
Reference in New Issue
Block a user