mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-10-09 03:26:38 +08:00
Update update.ts
This commit is contained in:
parent
c39f5eba33
commit
7a82dfa582
@ -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: "MOSS AI",
|
||||||
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: "MOSS AI",
|
||||||
body: updateMessage,
|
body: updateMessage,
|
||||||
icon: `${ChatGptIcon.src}`,
|
icon: `${ChatGptIcon.src}`,
|
||||||
sound: "Default",
|
sound: "Default",
|
||||||
|
Loading…
Reference in New Issue
Block a user