mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-10-01 19:02:13 +07:00
IDEA-CR-11249: IDEA-156503 Can't update PhpStorm was updated
This commit is contained in:
@@ -78,7 +78,7 @@ public class Restarter {
|
||||
if (beforeRestart.length == 0) return;
|
||||
|
||||
File restartDir = new File(getRestarterDir());
|
||||
String systemPath = (System.getProperty("user.home") + "/." + System.getProperty("idea.paths.selector") + "/system/restart").replace("//", "/");
|
||||
String systemPath = new File(System.getProperty("user.home") + "/." + System.getProperty("idea.paths.selector") + "/system/restart").getPath();
|
||||
if (! systemPath.equals(restartDir.getPath())){
|
||||
throw new IOException("idea.system.path was changed. Restart is not supported.");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user