Skip to content

Commit b19cb8f

Browse files
committed
Properly create .Bytecode-Viewer/libs if it doesn't exist
1 parent 66aa6e7 commit b19cb8f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/the/bytecode/club/bootloader/Boot.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -285,11 +285,11 @@ private static void create(ILoader<?> loader, boolean clean) throws Exception {
285285
}
286286

287287
public static File libsDir() {
288-
File dir = new File(System.getProperty("user.home"), ".Bytecode-Viewer");
288+
File dir = new File(System.getProperty("user.home"), ".Bytecode-Viewer/libs");
289289
while (!dir.exists())
290290
dir.mkdirs();
291291

292-
return new File(dir, "libs");
292+
return dir;
293293
}
294294

295295
public static void setState(String s) {

0 commit comments

Comments
 (0)