mirror of
https://github.com/Boof2015/prism.git
synced 2026-08-21 04:49:52 +02:00
add version in top bar and update checking
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
export interface AppBuildInfo {
|
||||
version: string
|
||||
commitHash: string | null
|
||||
shortCommitHash: string | null
|
||||
isDirty: boolean
|
||||
}
|
||||
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user