mirror of
https://gitee.com/zhangsken/AndroidIDE.git
synced 2026-10-16 07:49:44 +08:00
fix: try to fix #734
This commit is contained in:
@@ -105,7 +105,7 @@ public class BootstrapInstaller {
|
||||
boolean isDirectory = entry.isDirectory();
|
||||
|
||||
final var dir = isDirectory ? targetFile : targetFile.getParentFile();
|
||||
if (!FileUtils.createOrExistsDir(dir)) {
|
||||
if (dir != null && !dir.exists() && !dir.mkdirs()) {
|
||||
LOG.error("Cannot create target file parent directory");
|
||||
throw new CompletionException(
|
||||
new InstallationException("Unable to create directory: " + dir));
|
||||
|
||||
Reference in New Issue
Block a user