From 3320f46b6409ac0356f9b2f9be58a934777468c1 Mon Sep 17 00:00:00 2001 From: Sky Date: Tue, 19 Nov 2024 00:37:46 +0000 Subject: [PATCH] revo --- app/client/api.ts | 2 +- app/components/artifacts.tsx | 2 +- app/components/exporter.tsx | 2 +- app/components/sidebar.tsx | 4 ++-- app/layout.tsx | 2 +- app/locales/en.ts | 6 +++--- app/store/update.ts | 4 ++-- public/site.webmanifest | 4 ++-- src-tauri/Cargo.lock | 2 +- src-tauri/Cargo.toml | 4 ++-- src-tauri/tauri.conf.json | 8 ++++---- 11 files changed, 20 insertions(+), 20 deletions(-) diff --git a/app/client/api.ts b/app/client/api.ts index 1da81e964..87a07aeee 100644 --- a/app/client/api.ts +++ b/app/client/api.ts @@ -181,7 +181,7 @@ export class ClientApi { { from: "human", value: - "Share from [NextChat]: https://github.com/Yidadaa/ChatGPT-Next-Web", + "Share from [RevoChat]: https://github.com/Yidadaa/ChatGPT-Next-Web", }, ]); // 敬告二开开发者们,为了开源大模型的发展,请不要修改上述消息,此消息用于后续数据清洗使用 diff --git a/app/components/artifacts.tsx b/app/components/artifacts.tsx index ce187fbcb..6aea2e305 100644 --- a/app/components/artifacts.tsx +++ b/app/components/artifacts.tsx @@ -239,7 +239,7 @@ export function Artifacts() { shadow onClick={() => previewRef.current?.reload()} /> -
NextChat Artifacts
+
RevoChat Artifacts
code} diff --git a/app/components/exporter.tsx b/app/components/exporter.tsx index 79ae87be2..e6479d73c 100644 --- a/app/components/exporter.tsx +++ b/app/components/exporter.tsx @@ -541,7 +541,7 @@ export function ImagePreviewer(props: {
-
NextChat
+
RevoChat
github.com/ChatGPTNextWeb/ChatGPT-Next-Web
diff --git a/app/components/sidebar.tsx b/app/components/sidebar.tsx index a5e33b15e..3552f982e 100644 --- a/app/components/sidebar.tsx +++ b/app/components/sidebar.tsx @@ -231,8 +231,8 @@ export function SideBar(props: { className?: string }) { {...props} > } shouldNarrow={shouldNarrow} > diff --git a/app/layout.tsx b/app/layout.tsx index 36dd76701..68a9a6639 100644 --- a/app/layout.tsx +++ b/app/layout.tsx @@ -13,7 +13,7 @@ export const metadata: Metadata = { title: "RevoChat", description: "Your personal Revo Chat Bot.", appleWebApp: { - title: "NextChat", + title: "RevoChat", statusBarStyle: "default", }, }; diff --git a/app/locales/en.ts b/app/locales/en.ts index fddb6f091..2763fa4cd 100644 --- a/app/locales/en.ts +++ b/app/locales/en.ts @@ -28,7 +28,7 @@ const en: LocaleType = { Later: "Later", SaasTips: "Too Complex, Use Immediately Now", TopTips: - "🥳 NextChat AI launch promotion: Instantly unlock the latest models like OpenAI o1, GPT-4o, Claude-3.5!", + "🥳 RevoChat AI launch promotion: Instantly unlock the latest models like OpenAI o1, GPT-4o, Claude-3.5!", }, ChatItem: { ChatItemCount: (count: number) => `${count} messages`, @@ -314,10 +314,10 @@ const en: LocaleType = { }, Access: { SaasStart: { - Title: "Use NextChat AI", + Title: "Use RevoChat AI", Label: " (Most Cost-Effective Option)", SubTitle: - "Maintained by NextChat, zero setup needed, unlock OpenAI o1, GPT-4o," + + "Maintained by RevoChat, zero setup needed, unlock OpenAI o1, GPT-4o," + " Claude-3.5 and more", ChatNow: "Start Now", }, diff --git a/app/store/update.ts b/app/store/update.ts index 327dc5e88..e93fac6ed 100644 --- a/app/store/update.ts +++ b/app/store/update.ts @@ -105,7 +105,7 @@ export const useUpdateStore = createPersistStore( if (version === remoteId) { // Show a notification using Tauri window.__TAURI__?.notification.sendNotification({ - title: "NextChat", + title: "RevoChat", body: `${Locale.Settings.Update.IsLatest}`, icon: `${ChatGptIcon.src}`, sound: "Default", @@ -115,7 +115,7 @@ export const useUpdateStore = createPersistStore( Locale.Settings.Update.FoundUpdate(`${remoteId}`); // Show a notification for the new version using Tauri window.__TAURI__?.notification.sendNotification({ - title: "NextChat", + title: "RevoChat", body: updateMessage, icon: `${ChatGptIcon.src}`, sound: "Default", diff --git a/public/site.webmanifest b/public/site.webmanifest index cf77f68e4..7beb51522 100644 --- a/public/site.webmanifest +++ b/public/site.webmanifest @@ -1,6 +1,6 @@ { - "name": "NextChat", - "short_name": "NextChat", + "name": "RevoChat", + "short_name": "RevoChat", "icons": [ { "src": "/android-chrome-192x192.png", diff --git a/src-tauri/Cargo.lock b/src-tauri/Cargo.lock index c9baffc0a..0ec31a668 100644 --- a/src-tauri/Cargo.lock +++ b/src-tauri/Cargo.lock @@ -1983,7 +1983,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e4a24736216ec316047a1fc4252e27dabb04218aa4a3f37c6e7ddbf1f9782b54" [[package]] -name = "nextchat" +name = "revochat" version = "0.1.0" dependencies = [ "bytes", diff --git a/src-tauri/Cargo.toml b/src-tauri/Cargo.toml index 8a11c3b6f..2e3a25a0e 100644 --- a/src-tauri/Cargo.toml +++ b/src-tauri/Cargo.toml @@ -1,11 +1,11 @@ [package] -name = "nextchat" +name = "revochat" version = "0.1.0" description = "A cross platform app for LLM ChatBot." authors = ["Yidadaa"] license = "mit" repository = "" -default-run = "nextchat" +default-run = "revochat" edition = "2021" rust-version = "1.60" diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index 8f5dd4ab3..1dd26e5c9 100644 --- a/src-tauri/tauri.conf.json +++ b/src-tauri/tauri.conf.json @@ -8,7 +8,7 @@ "withGlobalTauri": true }, "package": { - "productName": "NextChat", + "productName": "revochat", "version": "2.15.8" }, "tauri": { @@ -73,7 +73,7 @@ "icons/icon.ico" ], "identifier": "com.yida.chatgpt.next.web", - "longDescription": "NextChat is a cross-platform ChatGPT client, including Web/Win/Linux/OSX/PWA.", + "longDescription": "RevoChat is a cross-platform ChatGPT client, including Web/Win/Linux/OSX/PWA.", "macOS": { "entitlements": null, "exceptionDomain": "", @@ -82,7 +82,7 @@ "signingIdentity": null }, "resources": [], - "shortDescription": "NextChat App", + "shortDescription": "RevoChat App", "targets": "all", "windows": { "certificateThumbprint": null, @@ -110,7 +110,7 @@ "fullscreen": false, "height": 600, "resizable": true, - "title": "NextChat", + "title": "RevoChat", "width": 960, "hiddenTitle": true, "titleBarStyle": "Overlay"