Merge pull request #209 from Abextm/fix-lib-creation
Properly create .Bytecode-Viewer/libs if it doesn't exist
This commit is contained in:
commit
242466de17
1 changed files with 2 additions and 2 deletions
|
@ -285,11 +285,11 @@ public class Boot {
|
|||
}
|
||||
|
||||
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())
|
||||
dir.mkdirs();
|
||||
|
||||
return new File(dir, "libs");
|
||||
return dir;
|
||||
}
|
||||
|
||||
public static void setState(String s) {
|
||||
|
|
Loading…
Reference in a new issue