feat: 设置功能

This commit is contained in:
Wxw-Gu committed 2026-07-30 09:49:56 +08:00
1 parent 3c0e5a94cb
commit e1a174ade9
27 files changed
+1430 -17

No files matched your search

+25
View File
@@ -0,0 +1,25 @@
export type AppUpdateStatus =
| 'idle'
| 'checking'
| 'available'
| 'not-available'
| 'downloading'
| 'downloaded'
| 'error'
| 'unsupported'
export interface AppUpdateState {
status: AppUpdateStatus
currentVersion: string
version?: string
percent?: number
transferred?: number
total?: number
bytesPerSecond?: number
message?: string
}
export interface AppUpdateCheckResult {
success: boolean
state: AppUpdateState
}