feat(ota): show short hash

This commit is contained in:
Jacky 2025-05-03 08:13:58 +08:00
parent 1c282a57ad
commit 3fe4d859df
No known key found for this signature in database
GPG key ID: 215C21B10DF38B4D
6 changed files with 34 additions and 18 deletions

View file

@ -7,6 +7,14 @@ export interface RuntimeInfo {
ex_path: string
body: string
published_at: string
cur_version: Info
}
interface Info {
version: string
build_id: number
total_build: number
short_hash: string
}
const upgrade = {