mirror of
https://github.com/HMCL-dev/HMCL.git
synced 2025-01-30 14:39:56 +08:00
Fix #493
This commit is contained in:
parent
4d7af2e68b
commit
900f483a03
@ -250,7 +250,8 @@ public final class FileUtils {
|
||||
}
|
||||
|
||||
public static boolean makeDirectory(File directory) {
|
||||
return directory.isDirectory() || directory.mkdirs();
|
||||
directory.mkdirs();
|
||||
return directory.isDirectory();
|
||||
}
|
||||
|
||||
public static boolean makeFile(File file) {
|
||||
|
Loading…
Reference in New Issue
Block a user