add version in top bar and update checking

This commit is contained in:
Boof2015
2026-04-22 00:05:56 -04:00
parent 70d299d5b8
commit 7044a331ae
17 changed files with 1154 additions and 3 deletions
+6
View File
@@ -0,0 +1,6 @@
export interface AppBuildInfo {
version: string
commitHash: string | null
shortCommitHash: string | null
isDirty: boolean
}
+13
View File
@@ -0,0 +1,13 @@
export type UpdateCheckStatus = 'up-to-date' | 'update-available' | 'error'
export interface UpdateCheckResult {
status: UpdateCheckStatus
updateAvailable: boolean
currentVersion: string
latestTag: string | null
latestVersion: string | null
releaseName: string | null
releaseUrl: string
checkedAt: number
message: string
}