refactor: update product name

This commit is contained in:
Fred Liang
2023-12-23 16:48:16 +08:00
parent 9cc6000d89
commit 3ef0621eb0
13 changed files with 557 additions and 41 deletions

View File

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