Update update.ts

This commit is contained in:
Marilynn Paranada 2024-08-04 18:56:59 +08:00 committed by GitHub
parent c39f5eba33
commit 7a82dfa582
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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: "MOSS AI",
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: "MOSS AI",
body: updateMessage,
icon: `${ChatGptIcon.src}`,
sound: "Default",