This commit is contained in:
Xiao Qingyu
2024-07-21 21:13:23 +08:00
parent ba6039fc8b
commit b1ba753cb2
6 changed files with 9 additions and 295 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: "白羽 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: "白羽 AI 聊天",
body: updateMessage,
icon: `${ChatGptIcon.src}`,
sound: "Default",