From 48b08d08800c7b67c019e1411b185422e40a9103 Mon Sep 17 00:00:00 2001 From: Charles Williams Date: Wed, 1 Jan 2025 22:44:41 -0500 Subject: [PATCH] Renames application to PearAI (#148) Updates application name and related references throughout the codebase to reflect the rebranding to PearAI. This includes CLI output, application identifiers, and display names. --- .devcontainer/devcontainer.json | 2 +- cli/src/constants.rs | 6 +++--- product.json | 4 ++-- resources/win32/VisualElementsManifest.xml | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index f5adc4e1c46dd..0af31690146fa 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -1,5 +1,5 @@ { - "name": "Code - OSS", + "name": "PearAI", "build": { "dockerfile": "Dockerfile" }, diff --git a/cli/src/constants.rs b/cli/src/constants.rs index dfecc0b0d19d9..6e8c55a6f16a0 100644 --- a/cli/src/constants.rs +++ b/cli/src/constants.rs @@ -49,20 +49,20 @@ pub const TUNNEL_SERVICE_USER_AGENT_ENV_VAR: &str = "TUNNEL_SERVICE_USER_AGENT"; /// Application name as it appears on the CLI. pub const APPLICATION_NAME: &str = match option_env!("VSCODE_CLI_APPLICATION_NAME") { Some(n) => n, - None => "code", + None => "pearai", }; /// Full name of the product with its version. pub const PRODUCT_NAME_LONG: &str = match option_env!("VSCODE_CLI_NAME_LONG") { Some(n) => n, - None => "Code - OSS", + None => "PearAI", }; /// Name of the application without quality information. pub const QUALITYLESS_PRODUCT_NAME: &str = match option_env!("VSCODE_CLI_QUALITYLESS_PRODUCT_NAME") { Some(n) => n, - None => "Code", + None => "PearAI", }; /// Name of the application without quality information. diff --git a/product.json b/product.json index 44bc0807eb1ff..287b553eaff0d 100644 --- a/product.json +++ b/product.json @@ -23,8 +23,8 @@ "win32arm64AppId": "{{D1ACE434-89C5-48D1-88D3-E2991DF85475}", "win32x64UserAppId": "{{CC6B787D-37A0-49E8-AE24-8559A032BE0C}", "win32arm64UserAppId": "{{3AEBF0C8-F733-4AD4-BADE-FDB816D53D7B}", - "win32AppUserModelId": "Microsoft.CodeOSS", - "win32ShellNameShort": "C&ode - OSS", + "win32AppUserModelId": "PearAI", + "win32ShellNameShort": "PearAI", "win32TunnelServiceMutex": "pearai-tunnelservice", "win32TunnelMutex": "pearai-tunnel", "darwinBundleIdentifier": "com.visualstudio.code.oss", diff --git a/resources/win32/VisualElementsManifest.xml b/resources/win32/VisualElementsManifest.xml index 40efd0a396e87..b0252b2718db2 100644 --- a/resources/win32/VisualElementsManifest.xml +++ b/resources/win32/VisualElementsManifest.xml @@ -4,6 +4,6 @@ ShowNameOnSquare150x150Logo="on" Square150x150Logo="resources\app\resources\win32\code_150x150.png" Square70x70Logo="resources\app\resources\win32\code_70x70.png" - ForegroundText="light" - ShortDisplayName="Code - OSS" /> + ForegroundText="light" + ShortDisplayName="PearAI" />