From 412ba19da86dbcf1432f2bc8e4145fdb584d1efb Mon Sep 17 00:00:00 2001 From: Nikita Iarychenko Date: Fri, 31 Jan 2025 11:09:27 +0400 Subject: [PATCH] OPENIDE #82 Hide OpenIDE from Jetbrains Toolbox app (cherry picked from commit e6a734d3544962e3e2a7b9204371bc4f21263f5c) (cherry picked from commit 50931bb69ae79ed91ef54abfee4374e193ddd0da) (cherry picked from commit 102197510ca465011c528ab1d9b7b783030c27c4) (cherry picked from commit 5f13c603d7d804dcfa7169ecff6f63b91bd2a6f3) --- community-resources/resources/idea/IdeaApplicationInfo.xml | 2 +- .../platform-impl/src/com/intellij/ide/gdpr/ConsentOptions.java | 2 +- platform/util/resources/misc/registry.properties | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/community-resources/resources/idea/IdeaApplicationInfo.xml b/community-resources/resources/idea/IdeaApplicationInfo.xml index eb06bd5bc486..c245fbb25182 100644 --- a/community-resources/resources/idea/IdeaApplicationInfo.xml +++ b/community-resources/resources/idea/IdeaApplicationInfo.xml @@ -1,6 +1,6 @@ - + diff --git a/platform/platform-impl/src/com/intellij/ide/gdpr/ConsentOptions.java b/platform/platform-impl/src/com/intellij/ide/gdpr/ConsentOptions.java index 06f30ea6aff8..b9319ea3f75c 100644 --- a/platform/platform-impl/src/com/intellij/ide/gdpr/ConsentOptions.java +++ b/platform/platform-impl/src/com/intellij/ide/gdpr/ConsentOptions.java @@ -159,7 +159,7 @@ public final class ConsentOptions implements ModificationTracker { static final ConsentOptions ourInstance = new ConsentOptions(new IOBackendImpl(getBundledResourcePath(), getConfirmedConsentsFile())); private static String getBundledResourcePath() { - if ("JetBrains".equals(System.getProperty("idea.vendor.name"))) { + if ("OpenIDE".equals(System.getProperty("idea.vendor.name"))) { return "consents.json"; } diff --git a/platform/util/resources/misc/registry.properties b/platform/util/resources/misc/registry.properties index b66e9f0ba552..2998cc139237 100644 --- a/platform/util/resources/misc/registry.properties +++ b/platform/util/resources/misc/registry.properties @@ -2139,7 +2139,7 @@ ide.show.open.button.in.tip.dialog.description=Shows the Open button in the Tip ide.save.missing.jb.colors=false ide.save.missing.jb.colors.description=A missing named color will be added to UIDefaults with !!! suffix -ide.hide.toolbox.promo=false +ide.hide.toolbox.promo=true ide.hide.toolbox.promo.description=Removes JetBrains Toolbox promotion from the update settings page ide.show.plugins.in.editor=false