IDEA-144421 Virus in new update???

IDEA-144424 Latest EAP fails to update
IDEA-145547 Exception dialog while applying 14.1.5 patch
This commit is contained in:
Vladimir.Orlov
2015-10-14 14:27:32 +03:00
parent 3ac92f7bed
commit bb1da6f174
@@ -70,6 +70,15 @@ public class Runner {
initLogger();
logger.info("destFolder: " + destFolder);
//remove this code after one EAP cycle
String osName = System.getProperty("os.name").toLowerCase(Locale.US);
logger.info("osName: " + osName);
if (osName.startsWith("mac") && destFolder.startsWith("\"") && destFolder.lastIndexOf("\"") == destFolder.length()-1) {
destFolder = destFolder.substring(1, destFolder.length()-1);
logger.info("removed quotes: " + destFolder);
}
//remove this code after one EAP cycle
install(jarFile, destFolder);
}
else {