mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-30 02:09:59 +07:00
[build scripts] restoring macOS signature after patching UUID in local update mode only on macOS
(cherry picked from commit 1771379cfbd20415799b068d569c11c32b1003a9) IJ-CR-151551 GitOrigin-RevId: 84c412a44b50e3a718ae815eb0de0cdbf6d93457
This commit is contained in:
committed by
intellij-monorepo-bot
parent
c3a30e655c
commit
a67918cd97
@@ -1,6 +1,7 @@
|
||||
// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
package org.jetbrains.intellij.build.impl.macOS
|
||||
|
||||
import com.intellij.openapi.util.SystemInfoRt
|
||||
import kotlinx.coroutines.runBlocking
|
||||
import org.jetbrains.intellij.build.BuildContext
|
||||
import org.jetbrains.intellij.build.io.runProcess
|
||||
@@ -63,7 +64,7 @@ internal class MachOUuid(private val executable: Path, private val newUuid: UUID
|
||||
context.messages.error("LC_UUID not found in $executable")
|
||||
}
|
||||
|
||||
if (context.options.isInDevelopmentMode) {
|
||||
if (context.options.isInDevelopmentMode && SystemInfoRt.isMac) {
|
||||
runBlocking {
|
||||
runProcess(listOf("codesign", "-s", "-", "--force", executable.toString()))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user