IJPL-217690 Do not rename the directory when update is called by toolbox

(cherry picked from commit 90420f1c9671fcd0404172c3234949045ef10acd)

IJ-MR-181887

GitOrigin-RevId: c253f815a2adb30c7bffbbf2272ae7f4a3a45e28
This commit is contained in:
Andrey Vokin
2025-11-12 03:53:10 +00:00
committed by intellij-monorepo-bot
parent 938c6eeba9
commit 4067221a8f
@@ -67,6 +67,7 @@ fun migrateCommunityToSingleProductIfNeeded(args: List<String>) {
return
}
if (System.getenv()["TOOLBOX_VERSION"] != null) return
if (!(OS.CURRENT == OS.macOS && currentDirName.endsWith(".app"))) return
val newDir = currentDir.resolveSibling(newDirName)