mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-10-01 09:03:31 +07:00
[plugins] IJPL-247121 Incorrect suggestion to update JetBrains OS Integration/Web Browser (JCEF) plugins
(cherry picked from commit 599c448bfa1ec9f7525ccf1dca11cc67067fc93e) IJ-CR-211621 GitOrigin-RevId: a5429ed9f519ffcff9c4e67ab5283767e6678b86
This commit is contained in:
committed by
intellij-monorepo-bot
parent
e3db588246
commit
75d2ba2954
@@ -465,7 +465,7 @@ object PluginManagerCore {
|
||||
val matchedVersion = descriptor.version?.let { OS_ARCH_DEPENDENCY_VERSION.matchEntire(it) }
|
||||
val osTag = matchedVersion?.groupValues[2] ?: return null
|
||||
|
||||
LOG.debug("Inferred OS for version: ${descriptor.version} of ${descriptor.pluginId} is $osTag")
|
||||
LOG.warn("Required OS for ${descriptor.pluginId} version: ${descriptor.version} is $osTag")
|
||||
|
||||
return OS.fromString(osTag)
|
||||
.takeIf { it != OS.Other }
|
||||
@@ -485,7 +485,7 @@ object PluginManagerCore {
|
||||
val matchedVersion = descriptor.version?.let { OS_ARCH_DEPENDENCY_VERSION.matchEntire(it) }
|
||||
val archTag = matchedVersion?.groupValues[3] ?: return null
|
||||
|
||||
LOG.debug("Inferred arch for version: ${descriptor.version} of ${descriptor.pluginId} is $archTag")
|
||||
LOG.warn("Required arch for ${descriptor.pluginId} version: ${descriptor.version} is $archTag")
|
||||
|
||||
return CpuArch.fromString(archTag)
|
||||
.takeIf { it != CpuArch.OTHER && it != CpuArch.UNKNOWN }
|
||||
|
||||
Reference in New Issue
Block a user