mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IJPL-209431 use NIO - PathManager.getHomeDir
GitOrigin-RevId: 680c88d2fd084478063c6ec2efe7a160d8e0b817
This commit is contained in:
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())
|
||||
|
||||
Reference in New Issue
Block a user