Add VITE_APP_VERSION to environment and update SystemInfoDialog to display version

This commit is contained in:
2025-08-07 19:01:31 +02:00
parent 0150429e82
commit 3ba62af01a
4 changed files with 40 additions and 4 deletions

13
webui/src/vite-env.d.ts vendored Normal file
View File

@@ -0,0 +1,13 @@
/// <reference types="vite/client" />
declare global {
interface ImportMetaEnv {
readonly VITE_APP_VERSION?: string
}
interface ImportMeta {
readonly env: ImportMetaEnv
}
}
export {}