feat: 添加wayland检查和消息弹窗位置失效说明

This commit is contained in:
H3CoF6
2026-03-21 02:53:03 +08:00
parent 45d4e74c98
commit 539f854dbf
5 changed files with 78 additions and 3 deletions

View File

@@ -61,6 +61,7 @@ export interface ElectronAPI {
ignoreUpdate: (version: string) => Promise<{ success: boolean }>
onDownloadProgress: (callback: (progress: number) => void) => () => void
onUpdateAvailable: (callback: (info: { version: string; releaseNotes: string }) => void) => () => void
checkWayland: () => Promise<boolean>
}
notification: {
show: (data: { title: string; content: string; avatarUrl?: string; sessionId: string }) => Promise<{ success?: boolean; error?: string } | void>