Properly create .Bytecode-Viewer/libs if it doesn't exist
This commit is contained in:
parent
66aa6e7759
commit
b19cb8f2fb
1 changed files with 2 additions and 2 deletions
|
@ -285,11 +285,11 @@ public class Boot {
|
||||||
}
|
}
|
||||||
|
|
||||||
public static File libsDir() {
|
public static File libsDir() {
|
||||||
File dir = new File(System.getProperty("user.home"), ".Bytecode-Viewer");
|
File dir = new File(System.getProperty("user.home"), ".Bytecode-Viewer/libs");
|
||||||
while (!dir.exists())
|
while (!dir.exists())
|
||||||
dir.mkdirs();
|
dir.mkdirs();
|
||||||
|
|
||||||
return new File(dir, "libs");
|
return dir;
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void setState(String s) {
|
public static void setState(String s) {
|
||||||
|
|
Loading…
Reference in a new issue