IJPL-209431 use NIO - PathManager.getHomeDir

GitOrigin-RevId: 680c88d2fd084478063c6ec2efe7a160d8e0b817
This commit is contained in:
Vladimir Krivosheev
2025-09-24 19:10:21 +00:00
committed by intellij-monorepo-bot
parent 00c7f285f4
commit 3a91a4dceb
@@ -62,7 +62,7 @@ private fun computeIdeFingerprint(debugHelperToken: Int): IdeFingerprint {
val appInfo = ApplicationInfoImpl.getShadowInstance()
if (AppMode.isRunningFromDevBuild()) {
hasher.putBytes(Files.readAllBytes(Path.of(PathManager.getHomePath(), "fingerprint.txt")))
hasher.putBytes(Files.readAllBytes(PathManager.getHomeDir().resolve("fingerprint.txt")))
}
else {
hasher.putLong(appInfo.buildTime.toEpochSecond())