Merge branch 'merge-main'

This commit is contained in:
LiLeeLing 2024-07-30 17:43:01 +08:00
commit 56b0bba48d
7 changed files with 15 additions and 14 deletions

View File

@ -208,7 +208,7 @@ export function Artifacts() {
<a href={REPO_URL} target="_blank" rel="noopener noreferrer"> <a href={REPO_URL} target="_blank" rel="noopener noreferrer">
<IconButton bordered icon={<GithubIcon />} shadow /> <IconButton bordered icon={<GithubIcon />} shadow />
</a> </a>
<div className={styles["artifacts-title"]}>NextChat Artifacts</div> <div className={styles["artifacts-title"]}>CatGPT Artifacts</div>
<ArtifactsShareButton <ArtifactsShareButton
id={id} id={id}
getCode={() => code} getCode={() => code}

View File

@ -223,8 +223,8 @@ export function SideBar(props: { className?: string }) {
{...props} {...props}
> >
<SideBarHeader <SideBarHeader
title="NextChat" title="CatGPT"
subTitle="Build your own AI assistant." subTitle="Nya~"
logo={<ChatGptIcon />} logo={<ChatGptIcon />}
> >
<div className={styles["sidebar-header-bar"]}> <div className={styles["sidebar-header-bar"]}>

View File

@ -13,7 +13,8 @@ export const metadata: Metadata = {
title: "CatGPT", title: "CatGPT",
description: "Nya~", description: "Nya~",
appleWebApp: { appleWebApp: {
title: "NextChat", title: "CatGPT",
title: "CatGPT",
statusBarStyle: "default", statusBarStyle: "default",
}, },
}; };

View File

@ -106,7 +106,7 @@ export const useUpdateStore = createPersistStore(
if (version === remoteId) { if (version === remoteId) {
// Show a notification using Tauri // Show a notification using Tauri
window.__TAURI__?.notification.sendNotification({ window.__TAURI__?.notification.sendNotification({
title: "NextChat", title: "CatGPT",
body: `${Locale.Settings.Update.IsLatest}`, body: `${Locale.Settings.Update.IsLatest}`,
icon: `${ChatGptIcon.src}`, icon: `${ChatGptIcon.src}`,
sound: "Default", sound: "Default",
@ -116,7 +116,7 @@ export const useUpdateStore = createPersistStore(
Locale.Settings.Update.FoundUpdate(`${remoteId}`); Locale.Settings.Update.FoundUpdate(`${remoteId}`);
// Show a notification for the new version using Tauri // Show a notification for the new version using Tauri
window.__TAURI__?.notification.sendNotification({ window.__TAURI__?.notification.sendNotification({
title: "NextChat", title: "CatGPT",
body: updateMessage, body: updateMessage,
icon: `${ChatGptIcon.src}`, icon: `${ChatGptIcon.src}`,
sound: "Default", sound: "Default",

View File

@ -1,5 +1,5 @@
{ {
"name": "nextchat", "name": "CatGPT",
"private": false, "private": false,
"license": "mit", "license": "mit",
"scripts": { "scripts": {

View File

@ -1,6 +1,6 @@
{ {
"name": "NextChat", "name": "CatGPT",
"short_name": "NextChat", "short_name": "CatGPT",
"icons": [ "icons": [
{ {
"src": "/android-chrome-192x192.png", "src": "/android-chrome-192x192.png",

View File

@ -8,7 +8,7 @@
"withGlobalTauri": true "withGlobalTauri": true
}, },
"package": { "package": {
"productName": "NextChat", "productName": "CatGPT",
"version": "2.14.0" "version": "2.14.0"
}, },
"tauri": { "tauri": {
@ -67,8 +67,8 @@
"icons/icon.icns", "icons/icon.icns",
"icons/icon.ico" "icons/icon.ico"
], ],
"identifier": "com.yida.chatgpt.next.web", "identifier": "ai.lolis.dev",
"longDescription": "NextChat is a cross-platform ChatGPT client, including Web/Win/Linux/OSX/PWA.", "longDescription": "CatGPT is a cross-platform ChatGPT client, including Web/Win/Linux/OSX/PWA.",
"macOS": { "macOS": {
"entitlements": null, "entitlements": null,
"exceptionDomain": "", "exceptionDomain": "",
@ -77,7 +77,7 @@
"signingIdentity": null "signingIdentity": null
}, },
"resources": [], "resources": [],
"shortDescription": "NextChat App", "shortDescription": "CatGPT App",
"targets": "all", "targets": "all",
"windows": { "windows": {
"certificateThumbprint": null, "certificateThumbprint": null,
@ -105,7 +105,7 @@
"fullscreen": false, "fullscreen": false,
"height": 600, "height": 600,
"resizable": true, "resizable": true,
"title": "NextChat", "title": "CatGPT",
"width": 960, "width": 960,
"hiddenTitle": true, "hiddenTitle": true,
"titleBarStyle": "Overlay" "titleBarStyle": "Overlay"