mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[platform] fixes permissions of JRE binaries copied for update (IDEA-161223)
This commit is contained in:
+1
-1
@@ -104,7 +104,7 @@ object UpdateInstaller {
|
||||
var java = System.getProperty("java.home")
|
||||
if (FileUtil.isAncestor(PathManager.getHomePath(), java, true)) {
|
||||
val javaCopy = File(tempDir, "jre")
|
||||
File(java).copyRecursively(javaCopy, true)
|
||||
FileUtil.copyDir(File(java), javaCopy)
|
||||
java = javaCopy.path
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user