This commit is contained in:
LiLeeLing
2024-07-30 17:42:07 +08:00
parent c9eb9f3eda
commit bedccf251e
8 changed files with 19 additions and 18 deletions

View File

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