From b19cb8f2fbe3e5dc76606db7d0d622ec4c2dd365 Mon Sep 17 00:00:00 2001 From: Max Weber Date: Fri, 13 Jul 2018 21:38:59 -0600 Subject: [PATCH] Properly create .Bytecode-Viewer/libs if it doesn't exist --- src/the/bytecode/club/bootloader/Boot.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/the/bytecode/club/bootloader/Boot.java b/src/the/bytecode/club/bootloader/Boot.java index dcd82a3d..cd69948b 100644 --- a/src/the/bytecode/club/bootloader/Boot.java +++ b/src/the/bytecode/club/bootloader/Boot.java @@ -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) {