mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[rdct] specify proper name for embedded JetBrains Client process on macOS (RDCT-556)
GitOrigin-RevId: 84d01dd4b654534f04557dae64d5814700e83d84
This commit is contained in:
committed by
intellij-monorepo-bot
parent
5cf88da717
commit
4a164c70d3
+4
@@ -15,6 +15,7 @@ import com.intellij.openapi.diagnostic.logger
|
||||
import com.intellij.openapi.projectRoots.SimpleJavaSdkType
|
||||
import com.intellij.openapi.util.Key
|
||||
import com.intellij.openapi.util.NlsSafe
|
||||
import com.intellij.openapi.util.SystemInfo
|
||||
import com.intellij.openapi.util.registry.Registry
|
||||
import com.intellij.platform.bootstrap.RuntimeModuleIntrospection
|
||||
import com.intellij.platform.runtime.repository.ProductMode
|
||||
@@ -146,6 +147,9 @@ class EmbeddedClientLauncher private constructor(private val moduleRepository: R
|
||||
"-Dsplash=true",
|
||||
)
|
||||
vmParametersList.addAll(jetBrainsClientOptions)
|
||||
if (SystemInfo.isMac) {
|
||||
vmParametersList.add("-Dapple.awt.application.name=JetBrains Client")
|
||||
}
|
||||
|
||||
val openedPackagesStream = EmbeddedClientLauncher::class.java.getResourceAsStream("/META-INF/OpenedPackages.txt")
|
||||
?: error("Cannot load OpenedPackages.txt")
|
||||
|
||||
Reference in New Issue
Block a user