mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-03-22 15:19:59 +07:00
[remote dev] use the native launcher when running the frontend process on Linux (GTW-9619)
It's possible to switch back to the old sh script via 'rdct.use.native.client.launcher.on.linux' registry option. GitOrigin-RevId: 07766a7b4d4ffc81de4d09abac81df16c1c2ba86
This commit is contained in:
committed by
intellij-monorepo-bot
parent
b3c0f4d21f
commit
390fcaf12c
@@ -16,5 +16,7 @@
|
||||
description="Specify a positive value to make a client process started from an IDE listen for debug connections on that port."/>
|
||||
<registryKey key="rdct.embedded.client.debug.suspend" defaultValue="false"
|
||||
description="Enable this option to suspend a client process started from an IDE until a debugger connects to it."/>
|
||||
<registryKey key="rdct.use.native.client.launcher.on.linux" defaultValue="true"
|
||||
description="If enabled, the native launcher is used to run JetBrains Client process on Linux instead of jetbrains_client.sh script"/>
|
||||
</extensions>
|
||||
</idea-plugin>
|
||||
|
||||
@@ -688,7 +688,10 @@ object CodeWithMeClientDownloader {
|
||||
}
|
||||
|
||||
val shLauncherNames = listOf("jetbrains_client.sh", "cwm_guest.sh", "intellij_client.sh")
|
||||
return findLauncher(guestRoot, shLauncherNames)
|
||||
val eligibleLaunchers =
|
||||
if (Registry.`is`("rdct.use.native.client.launcher.on.linux")) listOf("jetbrains_client") + shLauncherNames
|
||||
else shLauncherNames
|
||||
return findLauncher(guestRoot, eligibleLaunchers)
|
||||
}
|
||||
|
||||
else -> error("Unsupported OS: ${SystemInfo.OS_NAME}")
|
||||
|
||||
Reference in New Issue
Block a user