mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-03-22 15:19:59 +07:00
IJPL-172978 launcher UUID shouldn't be patched in the development mode
because it won't be re-signed and won't start (cherry picked from commit e78dea4690e833af14cf973c87e70c29b9b9c846) IJ-CR-151551 GitOrigin-RevId: 6d1d18d08cccf2380292c73e8f4a61d8dd0bb4a2
This commit is contained in:
committed by
intellij-monorepo-bot
parent
82fa4ae1e2
commit
7ed345c4ba
@@ -49,9 +49,11 @@ internal class MachOUuid(private val executable: Path, private val newUuid: UUID
|
||||
buffer.putLong(newUuid.mostSignificantBits)
|
||||
buffer.putLong(newUuid.leastSignificantBits)
|
||||
buffer.flip()
|
||||
channel.position(channel.position() - 16)
|
||||
channel.write(buffer)
|
||||
context.messages.info("new UUID of $executable: $newUuid")
|
||||
if (!context.options.isInDevelopmentMode) {
|
||||
channel.position(channel.position() - 16)
|
||||
channel.write(buffer)
|
||||
context.messages.info("new UUID of $executable: $newUuid")
|
||||
}
|
||||
return
|
||||
}
|
||||
else {
|
||||
|
||||
Reference in New Issue
Block a user