From 3ea582d9e494865b4f5c99c146d4765eae8c81b8 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) (cherry picked from commit 412ba19da86dbcf1432f2bc8e4145fdb584d1efb) --- 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 651697d24751..e3f5fbeded41 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 7304baae7c10..10072f0d291d 100644 --- a/platform/platform-impl/src/com/intellij/ide/gdpr/ConsentOptions.java +++ b/platform/platform-impl/src/com/intellij/ide/gdpr/ConsentOptions.java @@ -161,7 +161,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 f2b9faeb5255..f8240921f617 100644 --- a/platform/util/resources/misc/registry.properties +++ b/platform/util/resources/misc/registry.properties @@ -2098,7 +2098,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